Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Host does not resolve with DHCP WAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Host does not resolve with DHCP WAN (Read 767 times)
tyrell
Newbie
Posts: 14
Karma: 0
Host does not resolve with DHCP WAN
«
on:
July 26, 2024, 12:44:10 pm »
Hey everyone,
fresh new install of OPNsense and transfering from pfsense.
Right now for Testpurposes im getting an IP Adresse on WAN from x.x.15.1 Subnet (x.x.15.108)
That was working fine in the beginning. I activated Unbound DNS and did the Overrides.
System-Settings-General i have not DNS Servers and "Allow DNS server list to be overridden by DHCP/PPP on WAN" is checked.
Also tried "Do not use the local DNS service as a nameserver for this system" but still OPNsense cannot resolve adresses for the Updates or ping.
System - Gateways - Configuration : There is the Route to 15.1. Status online
Firewall Rules for LAN : Default allow LAN to any rule
The weird thing is this was working. Then it just stopped without doing anything. Then it was working again now it stopped.
I rebooted serveral times. Tried a lot of stuff from other posts that sounded like the same problem.
I cant find the reason.
Firewall Live View shows all green.
Unbound Log shows a lot of : PTR record already exists for the overrides
and these
2024-07-25T14:09:27 Error unbound [32600:0] error: module init for module python failed
2024-07-25T14:09:27 Error unbound [32600:0] error: python exception in Py_InitializeFromConfig: init_fs_encoding: failed to get the Python codec of the filesystem encoding
2024-06-24T10:49:38 Error unbound [87795:7] error: recvfrom 65 failed: Protocol not available
But as i understand Opnsense system is not using unbound because of the checked option "Allow DNS server list to be overridden by DHCP/PPP"
Driving me crazy hope someone can help
Logged
tyrell
Newbie
Posts: 14
Karma: 0
Re: Host does not resolve with DHCP WAN
«
Reply #1 on:
July 29, 2024, 10:37:20 am »
Anyone has an idea what i could try?
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Host does not resolve with DHCP WAN
«
Reply #2 on:
July 29, 2024, 10:41:51 am »
A bit unclear really due to the masking of the WAN net.
Is this WAN IP a public or a private one? It matters because if private, then other infra comes into play.
Logged
tyrell
Newbie
Posts: 14
Karma: 0
Re: Host does not resolve with DHCP WAN
«
Reply #3 on:
July 29, 2024, 11:16:37 am »
The WAN IP is a private one.x.x.15.108. The Gateway is x.x.15.1 and is displayed on the dashboard as online.
The weird thing is it was working before. I tried to ping 8.8.8.8 also this is not working anymore.
Logged
tyrell
Newbie
Posts: 14
Karma: 0
Re: Host does not resolve with DHCP WAN
«
Reply #4 on:
July 29, 2024, 11:22:51 am »
All devices on the x.x.15.1/24 subnet are allow to use the internet. i double checked this again.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Host does not resolve with DHCP WAN
«
Reply #5 on:
July 29, 2024, 11:33:37 am »
Well, if the wan is a private address then it follows that it is behind other devices in charge of the routing for all devices. So you can see how it failing now could be a result of a change somewhere else.
For your OPN test install I suggest the usual basic diagnostics then from a console. See the route table, try to ping out, trace the route, etc.
Logged
tyrell
Newbie
Posts: 14
Karma: 0
Re: Host does not resolve with DHCP WAN
«
Reply #6 on:
July 29, 2024, 02:36:36 pm »
I found the problem! Stupid me created a VLAN with the same subnet x.x.15.1/24
Thanks for your help
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Host does not resolve with DHCP WAN