Results 21 to 24 of 24
Thread: How to determine DNS servers
Enjoy an ad free experience by logging in. Not a member yet? Register.
prepend domain-name-servers 127.0.0.1;
name server, because I run one on the local host.
You can use DHCP and still prepend whatever server you want.
Check the man page for dhclient.
- Join Date
- Nov 2007
And as posted by the OP's research links:
The dhcp servers always may not be properly setup to pass on the correct information about the dns and domain names to the clients. Or, you might want to add your own info. But, the modifications made to /etc/resolv.conf are last after rebooting or when the next time the dhcp client contacts the server.
To retain the changes over reboot (restarting of network), you can edit /etc/dhcp3/dhclient.conf instead of resolv.conf