[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Q] Setting up a primary DNS server for my domain name on a Debian box...



"Ralf G. R. Bergs" proclaimed:
> On Wed, 17 Nov 1999 13:50:30 -0800, Sudhakar Chandrasekharan wrote:
> >I tried following the instructions in the DNS HOWTO.  Things work fine when
> >I do a nslookup from the machine which is running bind.  But when I do an
> >nslookup remotely (setting this machine that is running bind as the server)
> >all queries time out.
> Can it be that your upstream router blocks access to your nameserver port? To
> verify this you could configure your firewall to log access to nameserver/UDP.
> *If* your upstream router properly routes nameserver requests you would see
> something in your kernel log.

Did some more debugging.  I stopped named and launched it off the command
like like so:

# named -d 1 -f

[Lots of info deleted]

[At this point I did an nslookup from the local machine.  The logging
follows]

datagram from [127.0.0.1].4206, fd 20, len 31
req: nlookup(www.aunet.org) id 42367 type=1 class=1
req: missed 'www.aunet.org' as '' (cname=0)
evSetTimer(ctx 0x80c6ba0, func 0x805be3c, uap 0, due 942881435.000000000,
inter 0.000000000)
forw: forw -> [149.174.213.5].53 ds=4 nsid=65532 id=42367 -1ms retry 4sec
datagram from [149.174.213.5].53, fd 4, len 145
send_msg -> [127.0.0.1].4206 (UDP 20) id=42367


[Now I tried doing an nslookup from a remote machine]
datagram from [207.1.145.44].1392, fd 22, len 31
req: nlookup(www.aunet.org) id 54197 type=1 class=1
req: found 'www.aunet.org' as 'www.aunet.org' (cname=0)
req: nlookup(aunet.org) id 54197 type=1 class=1
req: found 'aunet.org' as 'aunet.org' (cname=1)
ns_req: answer -> [207.1.145.44].1392 fd=22 id=54197 size=145 rc=0
datagram from [207.1.145.44].1392, fd 22, len 31
req: nlookup(www.aunet.org) id 54197 type=1 class=1
req: found 'www.aunet.org' as 'www.aunet.org' (cname=0)
req: nlookup(aunet.org) id 54197 type=1 class=1
req: found 'aunet.org' as 'aunet.org' (cname=1)
ns_req: answer -> [207.1.145.44].1392 fd=22 id=54197 size=145 rc=0

So....  What is happening?  Help would be greatly appreciated.

S.
-- 
   "English.  Pfft.  Who needs that?  I'm never going to England."
                      -- Homer J. Simpson
Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave


Reply to: