OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Fresh 24.1.1 install - LAN clients don't get DNS resolution <- OPNsense
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Fresh 24.1.1 install - LAN clients don't get DNS resolution <- OPNsense  (Read 1202 times)

dough29

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
[SOLVED] Fresh 24.1.1 install - LAN clients don't get DNS resolution <- OPNsense
« on: February 09, 2024, 02:27:49 pm »
Hello,

I'm on the way to switch to OPNsense so I'm trying it on my lab (Proxmox cluster).

WAN vtnet0 is on my public lan side 10.10.1.0/24
LAN vtnet1 has it's own vlan to play with 192.168.1.0/24

Fresh default install of OPNsense 24.1.1, just did the System > Firmware updates "There are no updates available".

On the LAN side clients can reach the Internet : ping 1.1.1.1 is Ok
But they can't resolve DNS hosts : nslookup google.com 192.168.1.1 gives SERVFAIL error

On the OPNsense host I can resolve DNS :
- ping google.com > Ok
- host google.com 10.10.1.1 (upstream) > Ok
- host google.com 127.0.0.1 > SERVFAIL

What I can conclude is that the unbound server is answering but not resolving hosts right ?

Do you have any idea what I could me missing ?

Thanks for reading.
« Last Edit: February 09, 2024, 02:56:32 pm by dough29 »
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1827
  • Karma: 95
    • View Profile
Re: Fresh 24.1.1 install - LAN clients don't get DNS resolution from OPNsense
« Reply #1 on: February 09, 2024, 02:47:45 pm »
https://homenetworkguy.com/how-to/confused-about-dns-configuration-in-opnsense/ gives you a good narrative around the different options.
Logged

dough29

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Fresh 24.1.1 install - LAN clients don't get DNS resolution from OPNsense
« Reply #2 on: February 09, 2024, 02:55:58 pm »
Ho ok, it was hidden if on the "Request Forwarding" page : I had to activate "Use System Nameservers" and there I go!

Thank you 8)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Fresh 24.1.1 install - LAN clients don't get DNS resolution <- OPNsense
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2