diff options
author | Tom Gundersen <teg@jklm.no> | 2014-01-05 23:01:10 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-01-12 15:37:21 +0100 |
commit | 3bef724f7e7f7eaca69881548b06e221b77d7031 (patch) | |
tree | 0b17e5a43d7e5c5d07dc696d23d4c829f9ab7200 /src/network/networkd-gperf.gperf | |
parent | 924fe4304af981ffd849346b4a1d415f11e9dd79 (diff) |
networkd: generate resolv.conf
This adds support to generate a basic resolv.conf in /run/systemd/network.
This file will not take any effect unless a symlink is created from
/etc/resolv.conf.
Nameservers received over DHCP takes precedence over statically configured ones.
Note: /etc/resolv.conf is severely limited, so in the future we will likely
rather provide a much more powerfull nss plugin (or something to that effect),
but this should allow current users to function without any loss of
functionality.
Diffstat (limited to 'src/network/networkd-gperf.gperf')
-rw-r--r-- | src/network/networkd-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf index f1594d56c9..92954a8365 100644 --- a/src/network/networkd-gperf.gperf +++ b/src/network/networkd-gperf.gperf @@ -25,6 +25,7 @@ Network.Bridge, config_parse_bridge, 0, offsetof(Networ Network.DHCP, config_parse_bool, 0, offsetof(Network, dhcp) Network.Address, config_parse_address, 0, 0 Network.Gateway, config_parse_gateway, 0, 0 +Network.DNS, config_parse_dns, 0, offsetof(Network, dns) Address.Address, config_parse_address, 0, 0 Address.Label, config_parse_label, 0, 0 Route.Gateway, config_parse_gateway, 0, 0 |