OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: fbeye on May 14, 2023, 06:31:16 PM

Title: Unbound DNS Override configuration issues.
Post by: fbeye on May 14, 2023, 06:31:16 PM
Hi!

I have looked up some other similar threads but still seem to be having an issue implementing.
Maybe I am misunderstanding the concept...

I am using Unbound DNS (53) which query forwards DNS to AdGuard (5353).
This all works fine and have verified as such.
What I am trying to do is, via NGINX and DuckdDNS I have servers, one being let's say, blah.goober.duckdns.org.
So, in my Unbound DNS Override (host) setting I set up;

Enabled
Host : blah
Domain : goober.duckdns.org
Type : A
Address : 192.168.5.181

It was my understanding that on my PC if I type https://blah.goober.duckdns.org it will take me to the local server.... without hitting the internet.
Title: Re: Unbound DNS Override configuration issues.
Post by: oscars on May 14, 2023, 07:29:28 PM
You are right.

Just remember that unbound and adguard save cache so if you apply changes you probably will need to clear the dns cache of unbound (or both of them) and maybe flush the local pc that will do the trick.

Title: Re: Unbound DNS Override configuration issues.
Post by: fbeye on May 15, 2023, 06:35:26 PM
That was it, thank you... Not suie which one but combination restart unbound (only way to clear) and then clear cache on AdGuard as well as PC, it works as I wanted it to.

Thank you.