Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2005
How to specify a default nameserver in /etc/resolv.conf
The Internet connection in my network is accessed through a Fedora Core 3. This machine acts as the router and as a development machine in the network. One of the ethernet interface is configured to assign the IP address through DHCP (of the ISP). The contents in the /etc/resolv.conf is automatically assigned by the dhcp server at the ISP part.
There is also a local nameserver in my network. Now I need to have the IP address of the local nameserver in the /etc/resolv.conf. Is there any way to put some default values through dhclient? Please advice me how to do it?
You can either have your DHCP server specify the DNS, or put 'supersede domain-name-servers 127.0.0.1' in your /etc/dhclient.conf file, replacing 127.0.0.1 with the DNS server you want to use."Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy