Re: DNS problem on local network
On Tue, 7 Aug 2007, Adam Hardy wrote:
email@example.com on 06/08/07 21:04, wrote:
My server isengard runs dnsmasq to provide the dhcp clients. However it
recognise any internal network domain name:
isengard:~# hostname --fqdn
hostname: Unknown host
isengard:~# nslookup gondor
** server can't find gondor: NXDOMAIN
I worked out the domain name should go into /etc/resolv.conf (
http://www.tldp.org/HOWTO/NET3-4-HOWTO-5.html ) but then it seems that
under the control of something else.
The domain name should go into /etc/resolv.conf
You also have to assign the first nameserver to be _your_ nameserver and
# cat /etc/resolv.conf
Something is rewriting my resolv.conf at least every minute. I suspected it
must be dnsmasq attempting to do the DNS but I just stopped dnsmasq, and yet
resolv.conf is still being updated. I had a look over my ps output but dont
see anything that could be controlling resolv.conf.
This is the only entry in it:
which is the British Telecom DNS.
Do you have the resolvconf package installed?
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.