Documentation unclear on "porperties all | nameservers (mapping)" search vs domains
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
I'm looking at (http://
> Common properties for all device types<br>
> nameservers (mapping)<br>
> Set DNS servers and search domains, for manual address configuration. There are
> two supported fields: addresses: is a list of IPv4 or IPv6 addresses similar to
> gateway*, and search: is a list of search domains.
>
> Example:
>
> ethernets:
> id0:
> [...]
> nameservers:
> search: [lab, home]
> addresses: [8.8.8.8, "FEDC::1"]
In the `nameservers` section documention there appears to be no distinction between the functions of what are called `domains` and `search` in some other specification systems where
- `domains` defines the range of queries for which nameserver will respond
- `search` is a list of suffices which will appended and tested for queries with less than a certain number of dots