Forwarding IP address from Unbound to AdGuard

Started by Could, December 14, 2023, 04:59:23 PM

Previous topic - Next topic
Hi,

I know this question has been already asked, but I wasn't able to find a working solution.

I am using AdGuard (running on a docker container) and Unbound just because I like how it allows me to define DNS override and alias (AFAIK AdGuard doesn't have that feature) in order to reach my internal services using a nice name instead of IP address.

I've enabled "Services>Unbound>Query forwarding" in order to use AdGuard as DNS filtering, and it works perfectly.

There is anyway a little annoying thing, all DNS queries are in AdGuard are reported as made by the same IP address (that is the OPNSense interface).
Is there a way to solve this annoying thing?

Thanks

Do it the other way round. Direct your clients at AdGuard Home and have AGH use Unbound as upstream.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Oh, ok, thanks, I didn't consider that option.
Anyway that would mean that I have to set the DNS server for each interface?
I have 14 interfaces at the moment... So it is doable, but maybe not so maintainable (in case in future I need to change AdGuard IP address).

Anyway I will consider this option.
I am also considering to use Pi-Hole that if I am not wrong allows creating IP aliases/override.