i have a question ?

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Apr 14 14:43:31 UTC 2016


On 14.04.16 19:55, johnzeng wrote:
>i have a question , i build a dns server ( forward mode ) , i hope dns
>server will cover forward and cache only .
>
>but i found a strange string. when i reslove y0.ifengimg.com via
>nslookup command between a client and a dns server .
>
>i found there are different result . i hope the result will be same
>between a client and a dns server .

well, first stop using nslookup, it is very bad tool for debugging DNS
problems.

>root at laptop:/accerater/config/dns# nslookup y0.ifengimg.com
>Server: 202.96.134.133
>Address: 202.96.134.133#53

first do:

dig y0.ifengimg.com @202.96.134.133

dig y0.ifengimg.com @202.96.134.133

dig y0.ifengimg.com @202.96.134.133

YES, do it multiple times.

>root at app:/appgame/sbin# nslookup y0.ifengimg.com
>Server: 127.0.0.1
>Address: 127.0.0.1#53

dig y0.ifengimg.com @127.0.0.1
  
dig y0.ifengimg.com @127.0.0.1
  
dig y0.ifengimg.com @127.0.0.1
  
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fighting for peace is like fucking for virginity...


More information about the bind-users mailing list