LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS raw packet structure question (https://www.linuxquestions.org/questions/linux-networking-3/dns-raw-packet-structure-question-808848/)

Valkyrie_of_valhalla 05-19-2010 09:11 AM

DNS raw packet structure question
 
My question is about the raw MX reply package structure. I've read the RFC and all relevant pages I could find, but I couldn't figure this one out.

Say we do a google.com MX query.

The first answer (just the rdata part) will be:
google.com.s9b2.psmtb.com
But in the raw package, instead of the .com, you have c0 13.

Then for the second answer, google.com.s9b1.psmtb.com, the raw package has, instead of psmtb.com, just c0 3a.

So is the part after c0 a pointer towards another part of the message? Or what does it stand for exactly?

I am puzzled by it, and don't know exactly where to ask... some of the networking people here might have a good idea.

Thanks for reading. Any help and suggestions are welcomed.

bathory 05-20-2010 02:23 AM

Hi,

Maybe this could be of help

Regards

Valkyrie_of_valhalla 05-20-2010 04:45 AM

Thanks, but I've already read that, and there's no mention of what those values represent.

TimothyEBaldwin 05-20-2010 10:48 AM

There is, in section 4.1.4.


All times are GMT -5. The time now is 03:46 AM.