|
|||||||||||
|
Re: DNS problem on local network
From: Adam Hardy <adam.ant(at)cyberspaceroad.com>
Date: Mon Aug 06 2007 - 13:50:21 EDT
> On Mon, Aug 06, 2007 at 12:39:56PM +0100, Adam Hardy wrote: >> I installed dnsmasq to run DNS and DHCP servers on my little home network >> of 4 PCs and a couple of laptops, and everything was going fine, internet >> browsing, ssh, ftp by IP address etc. >> >> Now I am trying to get DNS to work for local machines but it won't >> co-operate. I spent the last couple of hours pouring over HOWTOs and FAQs >> trying to work out the problem but I'm stuck with a few errors messages >> which I suspect point to something totally obvious to those in the know. > > Please send us your /etc/hosts file. Every box needs a minimal > /etc/hosts file with at least its own hostname (though I'v never used > DHCP). The box running dnsmasq should have all the hosts on your > network listed in /etc/hosts for dnsmasq to read. adam@gondor:~$ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts So I should put gondor in there on the same line as the localhost? And on the dnsmasq box it's the same. I can enter the IP address of the box's NIC on the internal network into /etc/hosts because it's fixed, but all the DHCP clients? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Mon Aug 6 13:50:51 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:50:13 EDT |
||||||||||
|
|||||||||||