OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: Servergeek on April 04, 2021, 08:14:55 pm

Title: Issues With DNS- Randomly Cannot Connect to Web Pages? 21.1 In Proxmox/HyperV
Post by: Servergeek on April 04, 2021, 08:14:55 pm
So currently I'm having an issue where half the time trying to connect to a website results in "Webpage cannot be found" no matter what web browser I use. This happens no matter what setup I use, whether that be in Hyper-V or on Proxmox. For the life of me I cannot figure out what is causing it.

There is no real information in the logs other than spamming:
"unbound[22187]   [22187:3] error: udp connect failed: No route to host (IPV6 Address) Port 53"

And under reporting > health it shows a lot under inblock6 (400m). Not sure if this is an incompatibility with IPv6 or what, because even when I try disabling IPv6 I still get the errors and issues with webpages not being found.

Oddly enough, I have the same issues with PFSense, not sure why.
Title: Re: Issues With DNS- Randomly Cannot Connect to Web Pages? 21.1 In Proxmox/HyperV
Post by: FingerlessGloves on April 04, 2021, 09:37:45 pm
Hey,

Have you tried changing the DNS mode of unbound to do forwarding to say Cloudflare or Quad9?

By default unbound works as a recursive DNS server, but changing it to forwarding, is common thing people do.

Quick test to see if that's the issue is to override DNS on the client machine, to see if the internet start functionating correct, if it does then unbound is the issue.
Title: Re: Issues With DNS- Randomly Cannot Connect to Web Pages? 21.1 In Proxmox/HyperV
Post by: Servergeek on April 04, 2021, 09:46:59 pm
So apparently setting it to DNS forwarder worked. I had it set to the Cloudflare DNS servers before but it just wasn't working properly. It is no longer spamming the errors in the log.

How does operating as its own DNS server cause issues?
Title: Re: Issues With DNS- Randomly Cannot Connect to Web Pages? 21.1 In Proxmox/HyperV
Post by: FingerlessGloves on April 04, 2021, 09:55:03 pm
I'm not sure personally, maybe your ISP is not letting you get too ROOT DNS servers

https://www.iana.org/domains/root/servers
Title: Re: Issues With DNS- Randomly Cannot Connect to Web Pages? 21.1 In Proxmox/HyperV
Post by: Servergeek on April 04, 2021, 10:11:05 pm
It could be the way I have it set up, it is fed from a wifi/router combo (I don't have access to configure it)

It's kinda weird because before I had a PFsense box going and had no issues.
Title: Re: Issues With DNS- Randomly Cannot Connect to Web Pages? 21.1 In Proxmox/HyperV
Post by: FingerlessGloves on April 04, 2021, 10:11:59 pm
It could be the way I have it set up, it is fed from a wifi/router combo (I don't have access to configure it)

It's kinda weird because before I had a PFsense box going and had no issues.

does pfsense do forwarding by default though? 🤔