Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Enabling dnsmasq and unbound on port 53 BUT separate interface = issue ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Enabling dnsmasq and unbound on port 53 BUT separate interface = issue ? (Read 481 times)
rookysteed
Newbie
Posts: 10
Karma: 0
Enabling dnsmasq and unbound on port 53 BUT separate interface = issue ?
«
on:
May 02, 2024, 03:48:31 pm »
hi,
i need to give hostname.domain with ip 192.168.1.10 on interco.wan interface AND hostname.domain with 10.10.10.10 on lan interface.
So i need to have the equivalent of "BIND views" (custom DNS solving for each interface) for unbound : but there is no options do to that with gui.
So i decide to use dnsMasq strict binding option on interco.wan (port 53) only, then bind unbound binding on lan interface (port 53 too) ... but it's conflicting.
Is this an known issue ?
thank you for reading me.
Logged
rookysteed
Newbie
Posts: 10
Karma: 0
Re: Enabling dnsmasq and unbound on port 53 BUT separate interface = issue ?
«
Reply #1 on:
May 04, 2024, 12:25:52 pm »
is it a strange question ?
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Enabling dnsmasq and unbound on port 53 BUT separate interface = issue ?
«
Reply #2 on:
May 04, 2024, 03:29:18 pm »
2 DNS server needs 2 different ports
unbound 53
dnsmas 54(assuming unused)
then you create rule in your firewall in one of your lan segment 2
1) to accept port 54
2) a port forward lan segment 2 address dns to firewall port 54
you run 2 dns server on different port, 1 of your lan segment will then portforward dns query to your secondary dns server.
this works as I am doing it, 1 dns for local lan and 1 dns for wifi
you can run 2 dns on same firewal using the same port
«
Last Edit: May 04, 2024, 03:30:49 pm by tong2x
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Enabling dnsmasq and unbound on port 53 BUT separate interface = issue ?