DNS programming - once again

Barry Margolin barmar at bbnplanet.com
Wed Sep 1 20:36:37 UTC 1999


In article <37CD56EC.78FEB68C at americasm01.nt.com>,
Michael Sedlak <michael.sedlak at gmx.at> wrote:
>Can anybody send me a "real" DNS-query-packet, containing the message
>and question section? This can be a really "ugly" character-string, but
>that is what I need to fully understand the coding of the bits and
>bytes. I do not mean the one that I can get from nslookup, because this
>one is already formatted.

Run tcpdump and capture actual DNS packets on your LAN.  You can have it
display them in hex, and you can match this against the diagrams in the
RFC.  I think you learn much more by exploring this way than having someone
send you a fully-formatted dump.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list