<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 4/6/22 10:44, Brian Candler wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ecce9ff0-3f93-acae-b515-d7fa537dd81c@pobox.com">On
06/04/2022 09:36, Adam Cecile via Pdns-users wrote:
<br>
<blockquote type="cite">Any idea what's going on here, I'm
completely lost. I guess my DNAME usage is somehow incorrect but
I don't understand why it's working intermittently (and always
with pure DNS call using dig...)
<br>
</blockquote>
<br>
Just a thought, but does your system use systemd-resolved? (Clue:
/etc/resolv.conf points to nameserver 127.0.0.53). For example,
it may treat ".local" differently, given that domain is reserved
for multicast DNS (as dig output informs you); or there may be
some DNSSEC issue. "systemd-resolve --status" may give you some
clue.
<br>
<br>
Apart from that, I suggest you look at the raw queries and
responses on the wire, and see how this differs between using
direct dig and gethostbyname:
<br>
<br>
tcpdump -i eth0 -nn -s0 -v port 53
<br>
<br>
(replace "eth0" with whatever your external interace is)
<br>
<br>
</blockquote>
<p>Hello,</p>
<p>No regular resolv.conf pointing to 127.0.0.1 (local DNSDist ->
local PowerDNS), nsswitch mdns stuff is also removed.<br>
</p>
<div id="grammalecte_menu_main_button_shadow_host" style="width:
0px; height: 0px;"></div>
</body>
</html>