[ldns-users] oxffffffff in dns records cause a syntax error in ldns-read-zone

Paul Wouters paul at xelerance.com
Tue Jan 11 18:44:38 UTC 2011


On Tue, 11 Jan 2011, W.C.A. Wijngaards wrote:

>> While digging through a large customer zone, I found a few hostnames
>> that contained
>> 0xffffffff characters. Usually the hostname would be just those
>> characters. Via AXFR
>> you see these as \255\255\255[...]
>
> This works fine for me:
> \255\255\255\255.	3600	IN	A	192.0.2.1
>
> What is the input that fails?

Below are 4 records. the middle two fail.

9z8m9432.xxxx.xx.xxx.com. 3600	IN	A	10.xx.xx.55
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255.xxxx.xx.xxx.com. 3600 IN TXT "3188a04aecf2e812b6d4a95e6c13ee563f"
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255.xxxx.xx.xxx.com. 3600 IN A	10.xx.xx.31
b28m9435.xxxx.xx.xxx.com. 3600	IN	TXT	"31ddf5714dd59e9d6d385fd839c86dd044"

Note that, like reported before I think the line number reported is off
by one :)

Paul



More information about the ldns-users mailing list