ZERO TTL ?!?

Andre Schwaller andre at sunbeam.ch
Fri Mar 10 07:36:17 UTC 2000


Barry Margolin wrote:

> >But if you do nslookup (set sebug) from the internet i get TTL set to
> >Zero.
> >
> >ns1    86400 IN NS    195.162.167.201
> >ns1    86400 IN NS    10.0.3.1                 <- this i do delete then it works
> >ns2    86400 IN NS    195.162.167.202
> >ns2    86400 IN NS    10.0.3.2                 <- but if i delete ns1 is rejected by ns1
> 
> Those TTLs are 86400, not 0, so what are you talking about?  Does this only
> happen when you try to look something up in your domain?
Exactly ....


> % dig autobox.ch any !$ +norecurse
> dig autobox.ch any @195.162.167.202 +norecurse

> autobox.ch.     86400   A       194.209.219.94
> autobox.ch.     0       NS      ns2.autobox.ch.   <- this is the NS 10.0.3.2 entry !
> autobox.ch.     86400   NS      ns1.autobox.ch.

> ;; AUTHORITY RECORDS:
> autobox.ch.     0       NS      ns2.autobox.ch.   <- this too
> autobox.ch.     86400   NS      ns1.autobox.ch.
> 
> ;; ADDITIONAL RECORDS:
> mail.autobox.ch.        86400   A       194.209.219.94
> ns2.autobox.ch. 0       A       195.162.167.202    <- and this aswel 
> ns2.autobox.ch. 86400   A       195.162.167.202
> ns1.autobox.ch. 86400   A       195.162.167.201

now this is correct as you can see from your host now
this is a local dig :
 
autobox.ch.		1D IN A		194.209.219.94
autobox.ch.		1D IN MX	10 mail.autobox.ch.
autobox.ch.		1D IN MX	5 mail.autobox.ch.
autobox.ch.		1D IN NS	ns2.autobox.ch.
autobox.ch.		1D IN NS	ns1.autobox.ch.

;; AUTHORITY SECTION:
autobox.ch.		1D IN NS	ns2.autobox.ch.
autobox.ch.		1D IN NS	ns1.autobox.ch.

;; ADDITIONAL SECTION:
mail.autobox.ch.	1D IN A		194.209.219.94
ns2.autobox.ch.		1D IN A		10.0.3.2
ns2.autobox.ch.		1D IN A		195.162.167.202
ns1.autobox.ch.		1D IN A		195.162.167.201

the 10.0.3.2 entry is diffrent ...

I talk to my ISP about the NAT translation...
 Thanx for your help i continue to get it working ...

Regards
Andre Schwaller



More information about the bind-users mailing list