Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
DNS on fresh install not able to resolve websites
« previous
next »
Print
Pages: [
1
]
Author
Topic: DNS on fresh install not able to resolve websites (Read 1989 times)
seiya_balthazar
Newbie
Posts: 5
Karma: 0
DNS on fresh install not able to resolve websites
«
on:
September 01, 2022, 10:01:08 pm »
Hi I'm pretty close to my answer but could use some help. I have a fresh install of OPNsense on a Qotom-Q355G4 (not sure if that will be relevant). The install went through fine and I was even able to update to 22.7.3_2 so I think that the device itself is getting DNS but it's not being passed through to my LAN. I went through the wizard to setup my DNS (screen shot attached) but I can't ping out or look up any records from my laptop.
I'm not sure what I'm doing wrong and would appreciate some help or guidance.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: DNS on fresh install not able to resolve websites
«
Reply #1 on:
September 01, 2022, 10:14:05 pm »
yes, your lan clients need to know how to resolve dns.
One way is in services > ipv4 (assuming you are using ipv4 internally) > DNS.
That gives the client the dns to use when getting the lease, it's one of the attributes.
Or enabling Unbound or DNSMasq. Only one of these, not both.
OPN gives you options but yes, you need to use one.
Logged
seiya_balthazar
Newbie
Posts: 5
Karma: 0
Re: DNS on fresh install not able to resolve websites
«
Reply #2 on:
September 01, 2022, 10:40:31 pm »
Thank you for the response. Yes I am using IPv4 with Unbound enabled. If I understand you correctly I should go to Services > DHCPv4 > [LAN] and set the DNS servers manually there? I did try adding DNS servers to that and I'm still not able to get out. I'm missing something.
Logged
Supermule
Full Member
Posts: 235
Karma: 15
Re: DNS on fresh install not able to resolve websites
«
Reply #3 on:
September 01, 2022, 10:46:31 pm »
Leave the DNS on DHCP blank to use system DNS.
Under System -> General Setup, make sure the DNS is blank to use root servers for DNS.
Test again.
Logged
seiya_balthazar
Newbie
Posts: 5
Karma: 0
Re: DNS on fresh install not able to resolve websites
«
Reply #4 on:
September 01, 2022, 10:53:40 pm »
THAT WAS IT! For the next person who searches I went to System > Settings > General and removed the IP addresses listed. I *do* wonder what I was doing wrong by manually adding IP addresses to that page then. It might have been that I didn't have a gateway selected.
Thank you everyone this can be marked as solved.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
DNS on fresh install not able to resolve websites