AdGuard Home & unbound do not resolve hostnames correctly

Creating a bug report/issue

Required Information

  • DietPi version | DietPi v8.22.3
  • Distro version | bookworm 0
  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | RPi 3 Model B (aarch64)

Additional Information (if applicable)

  • Software title | AdGuard Home & Unbound
  • Was the software title installed freshly or updated/migrated? installed freshly

Steps to reproduce

  1. Install Dietpi
  2. install adguard home from the softwarecenter
  3. complete configuration
  4. disable dns on fritzbox
  5. enable dns from adguard

Expected behaviour

in the logs of the adguard home the devices are displayed with ip and hostname

Actual behaviour

most devices are only displayed with ipv6
only the static assignments devices have an ipv4 and a hostname

Well for IPv6 this is quite expected as your Fritzbox is the only one who now who is behind which IP address. Not sure how this is working for AGH but on Pihole (using dnsmasq) you can create a reverse lookup for PTR request. Not sure if AGH has similar functionality.

but the fritzbox also shows me only ipv4 addresses for all devices

If you have IPv6 enabled on your F!B, your clients will make use of it. And most modern clients prefer IPv6 over IPv4.

I have disabled the DHCPv6 in thr Fritzbox settings

you disabled IPv6 on your F!B but still see IPv6 address on AGH?

Yes, Adguard Home also takes care of the DHCP and not the Fritzbox

But IPv6 needs not DHCP to assign addresses to your devices. Best would be to disable IPv6 everywhere, I guess

did you enabled IPv6 within AGH? Otherwise I would wonder where clients should know AGH IPv6 address. :thinking:

I do not know where else I can disable it

In AGH I can only turn DHCP on or off, there are only the following fields for IPv6 and I did not fill them in

I have now set the IPv6 as it says in the PiHole manual, now I see for each device an IPv4 and the hostname there to.