summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_resolv.pl
AgeCommit message (Collapse)Author
2009-06-17Bugfix 4592: Generate NTP config file from Vyatta configuration parameters.Bob Gilligan
This fix changes the way that the /etc/ntp.conf file is generated. Now it is generated at boot time using a fixed section that contains only parameters that users don't change, plus a section that is generated from any "system ntp-servers" parameters that are configured. The fixed section does not contain any "server" definitions, so all server definitions come from the Vyatta config. The Vyatta configuration template for this parameter and code at other places in the system will now start the NTP server ONLY if there is at least one NTP server configured. So the user can "turn off" the NTP server by just deleting all NTP servers from the configuration. The default "config.boot" file does contiain one built-in "system ntp-servers" parameter, so a newly installed system will start the NTP server.
2008-11-21Convert to Vyatta::Config hierarchyStephen Hemminger
2008-08-10- servers being used for dns forwarding written to dnsmasq.conf with more ↵Mohit Mehta
info in comments - tighten check for updating resolv.conf for domain-names received from dhcp-server
2008-08-08tighten the checks for checking the existence or removal or nameserversMohit Mehta
2008-08-08tighten regex pattern to get dhclient resolv filesMohit Mehta
2008-06-26=> Modified vyatta_update_resolv.pl to update (i.e. add and remove) ↵Mohit Mehta
'name-server' and 'domain-name-server' options in /etc/resolv.conf received by a dhcp client for an interface => Modified name-server/node.def so as to have the name-server set by our CLI on the top of /etc/resolv.conf to take priority over name-servers received from dhcp client
2008-03-10Update to GPLv2Stephen Hemminger
Replace references to VPL 1.0 with GPLv2
2007-12-26Treat 'system domain-name $(@)' and 'system domain-search domain $(@)' as ↵Marat Nepomnyashy
mutually exclusive. Generate an error message and refuse commit if both are specified. Bug 2256 fix.
2007-12-18Rewrite '/etc/resolv.conf' each time config at 'system domain-search domain ↵Marat Nepomnyashy
$(@)' changes to update the 'search' params. Bug 2113 fix.