Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
DNS requests to LAN ip not working.
« previous
next »
Print
Pages: [
1
]
Author
Topic: DNS requests to LAN ip not working. (Read 772 times)
Odinos
Newbie
Posts: 4
Karma: 1
DNS requests to LAN ip not working.
«
on:
March 17, 2023, 05:34:25 pm »
Hey everyone I just replaced my dd-wrt router with a opnsense firewall and have been configuring it today.
One strange behavior that I'm noticing is that my devices are not getting a response when I set the LAN ip (192.168.0.1) as DNS server. It works fine if I set the same DNS servers as configured in opnsense but that's not ideal ofcourse.
Does opnsense need additional configuration to make this work?
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: DNS requests to LAN ip not working.
«
Reply #1 on:
March 17, 2023, 06:03:44 pm »
If you want OPN to just pass the DNS requests up to its configured DNS server, like your ISP's then just the settings in system > Settings > General will be passed to DHCP clients.
Or you could set OPN to run dnsqmasq or Unbound, the two out of the box choices (there are more), and then the settings to use differ.
Tip: On OPN change on the pages to "Full help". It's a sliding button. Then most will make sense when reading those hints.
Logged
Odinos
Newbie
Posts: 4
Karma: 1
Re: DNS requests to LAN ip not working.
«
Reply #2 on:
March 17, 2023, 06:24:49 pm »
Thanks, but that is exactly what I did. I added the DNS server in general and left it empty in the DHCP. I'm also not using dnsmasq or unbound. Still the DNS requests are not being passed.
Edit: Solution was to enable dnsmasq. Not sure why.
«
Last Edit: March 17, 2023, 08:47:33 pm by Odinos
»
Logged
hushcoden
Hero Member
Posts: 550
Karma: 23
Re: DNS requests to LAN ip not working.
«
Reply #3 on:
March 17, 2023, 09:51:35 pm »
Enable/configure Unbound and off you go (no need to configure DNS in system -> settings -> general)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
DNS requests to LAN ip not working.