Repository navigation
Why does my bluefin server queries all available dns servers for its own hostname every 30 seconds? #2931
Replies: 2 comments 7 replies
|
The most likely cause is systemd-resolved, which periodically queries all configured DNS servers for the system's own hostname due to its per-interface DNS configuration and merging behavior. This can happen even if you have the hostname in /etc/hosts, because systemd-resolved may still attempt DNS lookups depending on its configuration and how hostname resolution is requested by local processes. This is expected behavior in some setups, especially on multi-homed systems or when using VPNs like Tailscale, which can complicate DNS management and trigger extra queries if /etc/resolv.conf or DNS manager settings are not fully aligned (systemd-resolved docs, Tailscale DNS docs). To confirm the source, you can run: sudo journalctl -u systemd-resolved
sudo lsof -i :53
sudo ss -tupn | grep :53
sudo tcpdump -n port 53This will help you see which process is making the queries and their frequency. To mitigate, you can try setting the environment variable Tip: More details on DNS and hostname resolution in Bluefin: To reply, just mention @dosu. Docs are dead. Just use Dosu. |
|
Thank you @dosu. In order to free port 53 for AdGuard Home, I already have When I add |
Uh oh!
There was an error while loading. Please reload this page.
Every 30 seconds, my Bluefin server queries all available dns servers for its own hostname, "bluefin". The number of queries all sent at once varies (usually 1 to 8 queries per server), but the repetition is roughly every 30 seconds. The response is always NXDOMAIN (unless I add a redirect ; see below).
On my Bluefin server, I have an AdGuard Home dns server running in Docker with an upstream Unbound server, also in Docker. I also have an AdGuard Home dns server running running as an add-on in Home Assistant on a separate machine. Both accept queries from LAN and over Tailscale.
The queries continue :
I can live with those queries, but I have gone down tis rabbit hole and now I really want to know where they come from, what their purpose is, if they are the symptom of an actual issue, etc.
And it would be nice if they were not flooding my AdGuard Home servers, of course!
All reactions