OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: opnthib on June 24, 2021, 12:44:46 PM

Title: [SOLVED]Unbound Overrides
Post by: opnthib on June 24, 2021, 12:44:46 PM
Hello,

I configured ubound with DNSSEC and Blacklist.
Everything works and for exemple:
$ dig mydomain.tld
mydomaine.tld  3600 IN A <publicIP>


1)
But now I would like that in my LAN, mydomain.tld = <private ip> and not <public ip> ( I host my "cloud").
In "Services: Unbound DNS: Overrides: Domain Overrides" I put Domain = mydomain.tld and IP = <private ip>.
But now when I test "dig mydomain.tld" I have a timeout ...

Do you know where this problem comes from?
I have probably activated something too much or I forgot to activate something, but I do not see what !
Title: Re: Unbound Overrides
Post by: Wirrkopf on June 24, 2021, 01:08:03 PM
Domain overrides is to specify other name servers to query for the respective domain.

If you just want the domain to resolve to an IP use the host overrides and don't specify a hostname. Just fill in the domain part.
Title: Re: Unbound Overrides
Post by: opnthib on June 24, 2021, 06:35:09 PM
So it was pretty simple.
Thank you.