[Pdns-users] (bug?) query for an A record with content = 0.0.0.0

Bryan Fields Bryan at bryanfields.net
Fri Jul 12 21:03:48 UTC 2019


On 7/12/19 3:18 PM, Bryan Fields wrote:
> I have an authoritative server with an A record set as 0.0.0.0 and pdns is not
> serving this up.  I'm not getting a SRVFAIL or any message, it's just timing
> out waiting for a response.
> 
> I don't see any errors in the logs either, with it turned up to 10.
> 
> Is this correct behavior? If so where is it mentioned that it should be
> correct behavior in the docs?
> 
> Thank you,
> 

So I did follow up on this with another person offlist, and even if it's
invalid it should at least get an error response, not just hang.

I ran under strace and saw it just hang as well.
> [pid 26475] sendmsg(5, {msg_name(16)={sa_family=AF_INET, sin_port=htons(51085), sin_addr=inet_addr("67.78.199.10")}, msg_iov(1)=[{"\253H\205\0\0\1\0\1\0\0\0\1\00550121\5nodes\vallstar"..., 72}], msg_controllen=32, [{cmsg_len=28, cmsg_level=SOL_IP, cmsg_type=IP_PKTINFO, {ipi_ifindex=0, ipi_spec_dst=inet_addr("44.98.254.151"), ipi_addr=inet_addr("44.98.254.151")}}], msg_flags=0}, 0) = 72
> [pid 26475] read(11,  <unfinished ...>


$ dig 50121.nodes.allstarlink.org @44.98.254.151 if you want to see it fail.

The data in the db is as follows:

> +----------+-----------+-----------------------------+------+---------+------+------+-------------+----------+-----------+------+
> | id       | domain_id | name                        | type | content | ttl  | prio | change_date | disabled | ordername | auth |
> +----------+-----------+-----------------------------+------+---------+------+------+-------------+----------+-----------+------+
> | 64576107 |         1 | 50121.nodes.allstarlink.org | A    | 0.0.0.0 |   30 |   11 |        NULL |        0 | 50121     |    1 |
> +----------+-----------+-----------------------------+------+---------+------+------+-------------+----------+-----------+------+

Feel free to poke the server if you want, I'm thinking this is a bug.


-- 
Bryan Fields

727-409-1194 - Voice
http://bryanfields.net


More information about the Pdns-users mailing list