doc: add a brief description of the dns and dns_search options

requested in bz1550128.
This commit is contained in:
Pavel Cahyna 2018-03-09 12:37:02 +01:00
parent 0921678f1b
commit 0a7df307d4

View file

@ -253,6 +253,13 @@ network_connections:
#dhcp4_send_hostname: no
gateway4: 192.0.2.1
dns:
- 192.0.2.2
- 198.51.100.5
dns_search:
- example.com
- subdomain.example.com
route_metric6: -1
auto6: no
gateway6: 2001:db8::1
@ -274,6 +281,9 @@ Note that `dhcp4_send_hostname` is only supported by the `nm` provider and trans
to [`ipv4.dhcp-send-hostname`](https://developer.gnome.org/NetworkManager/stable/nm-settings.html#nm-settings.property.ipv4.dhcp-send-hostname)
property.
Manual DNS configuration can be specified via a list of addresses
`dns` and a list of domains to search `dns_search`.
- For NetworkManager, `route_metric4` and `route_metric6` corresponds to the
[`ipv4.route-metric`](https://developer.gnome.org/NetworkManager/stable/nm-settings.html#nm-settings.property.ipv4.route-metric) and
[`ipv6.route-metric`](https://developer.gnome.org/NetworkManager/stable/nm-settings.html#nm-settings.property.ipv6.route-metric)