diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-06-11 08:59:04 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-06-11 22:10:47 +0200 |
commit | 77081a6585fb64c1dba32c97eaaa54cf6a8741d9 (patch) | |
tree | 25ad0395fa935494542934ddb4d21027a8b809fe /op-mode-definitions/bandwidth-monitor.xml | |
parent | 7343e0e184a15eb56dc0ae1ee9bbc8ef60871704 (diff) | |
download | vyos-1x-77081a6585fb64c1dba32c97eaaa54cf6a8741d9.tar.gz vyos-1x-77081a6585fb64c1dba32c97eaaa54cf6a8741d9.zip |
host_name: T2486: replace disable-dhcp-nameservers with name-servers-dhcp
The previous implementation only supported disabling DHCP nameservers for all
interfaces, and was implemented improperly so it didn't work anyway.
It's safe to remove it completely.
This adds support for a new config node name-servers-dhcp <interface>, which
allows us to enable just the interfaces we want to use for system DNS,
identical in syntax to 'service dns forwarding dhcp <interface>'.
The new option works by adding tags to vyos-hostsd that we want to use to add
nameservers to resolv.conf, same as adding tags for dns forwarding but for a
different destination file.
A config migrator will be added in a separate commit.
Diffstat (limited to 'op-mode-definitions/bandwidth-monitor.xml')
0 files changed, 0 insertions, 0 deletions