Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Unbound - DNS Overrides
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unbound - DNS Overrides (Read 3556 times)
AndyX90
Jr. Member
Posts: 55
Karma: 2
Unbound - DNS Overrides
«
on:
December 04, 2019, 10:04:59 am »
Hey guys,
i still have problems with Unbound and DNS-Overrides.
It persists since my last Thred (
https://forum.opnsense.org/index.php?topic=7252.0
).
But last week i made an important discovery.
I had a setup with wan on dhcp and set up domain and host overrides. Worked like a charm.
But then i changed the wan to pppoe and since then the overrides stopped working correctly.
I tried to disable "allow dns to be overridden by pppoe" and set static upstream dns, but without luck.
Any ideas?
Logged
AndyX90
Jr. Member
Posts: 55
Karma: 2
Re: Unbound - DNS Overrides
«
Reply #1 on:
December 07, 2019, 06:38:04 pm »
If i go to Interfaces->Diagnostics->DNS-Lookup and insert a hostname of the overriden domain, i get randomly different results:
If i look at the generated overrides in conf, there is the ending .(dot) missing in the zone name.
In opnsense the zone name is
Quote
forward-zone:
name: "example.com"
forward-addr: 10.0.0.1
The fqdn of the overridden domain should be example.com.(dot)
The guys at archlinux also use that syntax in their documentation (
https://wiki.archlinux.org/index.php/unbound#Include_local_DNS_server
).
There is also someone over at pfsense who is talking about a similar problem.
https://redmine.pfsense.org/issues/9189
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Unbound - DNS Overrides