Bluehost.com Web Hosting $6.95

Re: DIG question

This is a discussion on Re: DIG question within the Bind Users forums, part of the DNS and Related Forums category; >>>>> "Sara" == Sara <demone33@yahoo.it> writes: Sara> Hi all, I ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-05-2004
Jim Reid
 
Posts: n/a
Default Re: DIG question

>>>>> "Sara" == Sara <demone33@yahoo.it> writes:

Sara> Hi all, I created a fake domain on my server (BIND 9.2.3
Sara> Linux Red-Hat 7.3).

Sara> Then I issued the following:

Sara> # dig @localhost www.fakedomain.gr +short

Sara> Correct IP received.


Sara> # dig @localhost www.myfakedomain.gr +trace


Sara> gr. 3600 IN SOA grdns.ics.forth.gr.
Sara> hmaster-info.ics.forth.gr. 404051313 21600 7200 2592000 3600
Sara> ;; Received 102 bytes from 139.91.1.1#53(GRDNS.ICS.FORTH.gr) in 104 ms

Sara> Why in one case does BIND respond with its own data and in
Sara> the other case goes to the Internet and fails? TIA all!

Simple. A +trace argument to dig makes it start at the root and
resolve the name being looked up by itself. dig follows the
delegations, showing the referrals at each step of the way. So when it
queries one of the servers for .gr, these quite correctly tell you
your bogus domain doesn't exist. If you query your name server
directly, as you showed earlier, it answers for thos bogus domain.



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0