diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2014-09-09 23:24:42 +0100 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2014-09-09 23:24:42 +0100 |
commit | 2754e3a6792eae084067be002c2ecc47a9de0b3e (patch) | |
tree | 6435279bdb1cc00e923667fc87f1173d6b3a52cf /templates | |
parent | 51fc24c24c8f3e9f893a7df550f755f9fc7d1d76 (diff) | |
download | vyatta-cfg-system-2754e3a6792eae084067be002c2ecc47a9de0b3e.tar.gz vyatta-cfg-system-2754e3a6792eae084067be002c2ecc47a9de0b3e.zip |
vyatta-cfg-system: add 'set system allow-dhcp-nameservers' option
Instead of simply allowing / denying DHCP related updates to resolv.conf
based on the current values of 'set system name-server', as initially
proposed for Bug #182 (http://bugzilla.vyos.net/show_bug.cgi?id=182),
this patch replaces that behaviour with a global option to allow /
deny these updates.
Add 'set system allow-dhcp-nameservers' as a boolean value that has the
default value of true, so allowing DHCP nameserver updates by default.
Bug #308 http://bugzilla.vyos.net/show_bug.cgi?id=308
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/allow-dhcp-nameservers/node.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/system/allow-dhcp-nameservers/node.def b/templates/system/allow-dhcp-nameservers/node.def new file mode 100644 index 00000000..c010baf1 --- /dev/null +++ b/templates/system/allow-dhcp-nameservers/node.def @@ -0,0 +1,4 @@ +priority: 300 +type: bool +help: Allow DHCP to update DNS settings +default: true |