in reply to Re: How to print Compressed data in DNS
in thread How to print Compressed data in DNS
tanx everbody, i make the situation clear,
I made a DNS packet and then sent it to the server, i got an answer, parsed the Header part then parsed the Question part
now i want to parse the Answer part, in the answer part has the format "NAME,TYPE,CLASS,TTL,RDLENGHT,RDATA", if this NAME is compressed how can i print it without decompressing it, and how can i decompress it and print it?
Thanx