[Pdns-dev] Got bad packet: extra input data with bind backend

Ben C. nez at q9y.net
Wed May 30 20:26:51 CEST 2012


Steps to reproduce:

pdns conf:
launch=bind
bind-config=/etc/powerdns/bind/named.conf

named.conf:

zone "." IN {
type master;
file "/etc/powerdns/bind/all.zone";
};

all.zone:
$ORIGIN .
@ 0 SOA ...
@ 0 NS ...
* 0 A 1.2.3.4

Yeah, .. It's a pretty weird to do thing but I just-happened to copy
and paste it from a website and got this:

dig @127.0.0.2 anything.here
;; Got bad packet: extra input data
78 bytes
d5 85 85 03 00 01 00 00 00 01 00 00 08 61 6e 79          .............any
74 68 69 6e 67 04 68 65 72 65 00 00 01 00 01 00          thing.here......
00 06 00 01 00 00 00 00 00 24 00 00 00 00 0a 68          .........$.....h
6f 73 74 6d 61 73 74 65 72 00 00 00 00 00 00 00          ostmaster.......
2a 30 00 00 0e 10 00 09 3a 80 00 00 0e 10                *0......:.....

I don't see it as a big deal, but potentially a bug being that it
returns nasty packets.

Thanks, Ben


More information about the Pdns-dev mailing list