Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] Unbound help delegating a zone
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Unbound help delegating a zone (Read 452 times)
toxic
Jr. Member
Posts: 72
Karma: 4
[SOLVED] Unbound help delegating a zone
«
on:
January 28, 2024, 11:35:00 am »
Hello,
I have y opnsense with unbound serving dhcp leases for the "lan." Zone so when I plug my desktop it's then accessible at "desktop.lan"
Great, no I added a remote location (parents house) with it's dedicated unbound and dhcp that is fully working for "parents.lan" , so when I'm there I can easily dig and find the IP of dad.parents.lan and mom.parents.lan
I have setup IPSEC between the 3 and we are on separate subnets so now we can use each other IPs and we get connectivity transparently though the IPsec VPN.
Now when I'm home on my own opnsense I can't resolve dad.parents.lan (it's empty) as it's a dhcp lease only on the unbound of my parents not mine.
I tried this in /sur/local/etc/unbound.opnsense.d/parents.conf
Code:
[Select]
server:
forward-zone:
name: "parents.lan"
forward-addr: 192.168.1.90
I also tried with .parents.lan. parents.lan. .parents.lan and even lan. with no luck (starting with a dot makes unbound refuse to start...)
192.168.1.90 being the IP of the parents opnsense of course.
So I can't find a way for my unbound to forward queries to the parents unbound when the query is about *.parents.lan
Any help will be appreciated.
I do believe that the other way around will be impossible though, make the parents DNS try to answer with local data first then query my unbound for *.lan but that I can live with 😉
But having mine ask the parents DNS for *.parents.lan should work I just don't find how...
Thanks in advance
«
Last Edit: January 28, 2024, 11:59:39 am by toxic
»
Logged
toxic
Jr. Member
Posts: 72
Karma: 4
Re: Unbound help delegating a zone
«
Reply #1 on:
January 28, 2024, 11:59:08 am »
Nevermind, there is a dedicated UI page for query forwarding that works like a charm for my use...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] Unbound help delegating a zone