Posted by liasis on 19:13:00 09-28-2003
This post is somewhat off topic but as I couldn't find a more appropriate section ...
Anyone dealt directly with nameservers before? Having a little difficulty parsing the responses. Here's the deal ...
Nameserver is queried for MX records for a given domain.
Nameserver responds, not supporting recursion, with no resource records in the answer section, 13 NS RRs (in the test case) in the authority section and 13 in the additional section.
Now, as I understand it the 13 RRs in the additional section should contain type A RDATA (which coincides with the length of the records). Furthermore I understand that the type A records contain nothing but an IP - 32-bit integer in NBO.
This is the problem; The nameserver responds with valid authority RRs but the IPs in the additional section are invalid. In addition the class bitfield for the records in the additional section contains 2 not 1 as it should.
Anyone got any ideas?
Posted by spnak on 21:19:00 09-28-2003
Oh yay. I remembered my old username/password. Liasis = me for those of you who remember me ;)