zmap/zdns

zdns fails to handle message truncation in iterative mode

yairhoff opened this issue · 0 comments

When I run the following command:
echo ecer.com | ./zdns TXT --iterative -retries 2

I get the following answer:
{"data":{"protocol":"udp","resolver":"106.11.41.154:53"},"error":"dns: overflowing header size","name":"ecer.com","status":"ERROR","timestamp":"2021-10-19T10:24:43+03:00"}

it seems that the above error occurs when unpacking the message header, but the "truncated" bit isn't set