in reply to How to print Compressed data in DNS

Could you elaborate on what you mean by "print a DNS packet answer"...  Hexdump, or what format?

  • Comment on Re: How to print Compressed data in DNS

Replies are listed 'Best First'.
Re^2: How to print Compressed data in DNS
by deewanagan (Novice) on Nov 27, 2008 at 23:37 UTC
    No, i mean when receiving DNS packet, in the answer part it has the domain name compressed, right? i want to print that name, without decompressing it. tanx
      ?
      binmode FILEHANDLE; print FILEHANDLE $data;