[Pdns-users] pdns_control notify to bind 9.4 slave: "failed while receiving responses: unexpected message id"
Norbert Sendetzky
norbert at linuxnetworks.de
Thu Mar 13 22:54:00 UTC 2008
On Tuesday 11 March 2008 17:30:08 Mathew Hennessy wrote:
> I see that in dns.hh endianness is detected by arch, and __sun or __sparc
> (or some variant) should be detected to configure the dnsheader struct
> appropriately. Also, the id (query identification number) is the first
> word regardless of endian in that file. Unless that's incorrect, my
> suspicions are more along the lines of miscast references to the message id
> (which should be uint16_t everywhere AFAIK?) or bad alignment assumptions.
After looking at the code I'm wondering if it wouldn't be more fail-safe to
use ntoh{s,l}() resp. hton{s,l}().
Norbert
--
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20080313/2cecdd29/attachment-0001.sig>
More information about the Pdns-users
mailing list