New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No DNS resolution for 10 mins when specific interface's state changes to UP #7426
Comments
Having a similar issue. I updated my switch and the internet wasn't working when the switch came back online. DNS seemed broken, and unbound was eating 100% of the CPU. I tried restarting the service via the UI and killing unbound via SSH - no improvement. In the end, I had to reboot the router. Found this in the logs, repeating many times:
From looking at the resolver logs, it seems like something was aggressively killing and restarting unbound in a loop. |
Is there any solution to this at all? I've been trying to troubleshoot to no avail. There are plenty of posts about this on reddit but no one seems to find a culprit. I tried disabling unbound, tried changing ports, it always goes back to this error.
I think I'm rolling back to a previous version until this is solved. |
When not using the rfc2136 plugin, this message can be ignored, looks like a remnant from legacy code (it's only trying to execute something that doesn't exist). core/src/etc/inc/interfaces.inc Line 2374 in 611ee6a
If this message repeats often, the network connection might be unstable (up/down events) |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
DNS resolution not working from any network for about 10 mins when client directly connected to interface with identifier opt1 comes online. GUI access is still working. It looks like many actions are performed internally over and over within this 10 mins of downtime and error
action rfc2136.reload.opt1 not found for user root
is reported multiple times.A clear and concise description of what the bug is, including last known working version (if any). The general log file shows, that the interface's state is changed multiple times before it finally remains in UP.
To Reproduce
Not sure if this is what caused the issue but here is what I did:
Expected behavior
Internet connection and DNS resolution keep working on all networks when the machine connected to opt1 comes online.
Describe alternatives you considered
Screenshots
None
Relevant log files
Audit Log:
2024-05-01T16:52:26 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:52:22 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:51:06 Error configd.py action rfc2136.reload.opt1 not found for user root
2024-05-01T16:51:00 Informational configd.py action allowed template.reload for user root
2024-05-01T16:49:19 Informational configd.py action allowed unbound.cache for user root
2024-05-01T16:49:18 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:49:18 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:49:17 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:49:17 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:49:16 Informational configd.py action allowed interface.routes.list for user root
2024-05-01T16:49:16 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:49:15 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:49:15 Informational configd.py action allowed interface.linkup.start for user root
2024-05-01T16:49:14 Informational configd.py action allowed interface.linkup.stop for user root
2024-05-01T16:49:14 Error configd.py action rfc2136.reload.opt1 not found for user root
2024-05-01T16:49:09 Informational configd.py action allowed template.reload for user root
2024-05-01T16:49:06 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:49:00 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:48:57 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:48:53 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:48:18 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:47:24 Informational configd.py action allowed unbound.cache for user root
2024-05-01T16:47:23 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:47:22 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:47:22 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:47:22 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:47:21 Informational configd.py action allowed interface.routes.list for user root
2024-05-01T16:47:20 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:47:20 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:47:20 Informational configd.py action allowed interface.linkup.start for user root
2024-05-01T16:47:19 Informational configd.py action allowed interface.linkup.stop for user root
2024-05-01T16:47:18 Error configd.py action rfc2136.reload.opt1 not found for user root
2024-05-01T16:47:14 Informational configd.py action allowed template.reload for user root
2024-05-01T16:47:06 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:47:02 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:45:29 Informational configd.py action allowed unbound.cache for user root
2024-05-01T16:45:28 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:45:27 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:45:27 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:45:26 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:45:26 Informational configd.py action allowed interface.routes.list for user root
2024-05-01T16:45:25 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:45:24 Informational configd.py action allowed interface.linkup.start for user root
2024-05-01T16:45:23 Informational configd.py action allowed interface.linkup.stop for user root
2024-05-01T16:45:23 Error configd.py action rfc2136.reload.opt1 not found for user root
2024-05-01T16:45:19 Informational configd.py action allowed template.reload for user root
2024-05-01T16:44:58 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:57 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:56 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:55 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:53 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:52 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:48 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:48 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:46 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:46 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:15 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:11 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:11 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:06 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:06 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:44:01 Informational configd.py action allowed system.status for user root
2024-05-01T16:44:01 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:43:32 Informational configd.py action allowed unbound.cache for user root
2024-05-01T16:43:31 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:43:31 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:43:31 Informational configd.py action allowed system.status for user root
2024-05-01T16:43:30 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:43:30 Informational configd.py action allowed system.diag.log for user root
2024-05-01T16:43:30 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:43:29 Informational configd.py action allowed interface.routes.list for user root
2024-05-01T16:43:29 Informational configd.py action allowed ipsec.list.legacy_vti for user root
2024-05-01T16:43:28 Informational configd.py action allowed interface.linkup.start for user root
2024-05-01T16:43:27 Informational configd.py action allowed interface.linkup.stop for user root
2024-05-01T16:43:27 Error configd.py action rfc2136.reload.opt1 not found for user root
2024-05-01T16:43:22 Informational configd.py action allowed template.reload for user root
General log:
2024-05-01T16:49:19 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())
2024-05-01T16:49:19 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
2024-05-01T16:49:19 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns ()
2024-05-01T16:49:17 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
2024-05-01T16:49:17 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp ()
2024-05-01T16:49:17 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,opt1))
2024-05-01T16:49:17 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (,opt1)
2024-05-01T16:49:16 Notice opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'opt1'
2024-05-01T16:49:15 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for opt1(igb1)
2024-05-01T16:49:14 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for opt1(igb1)
2024-05-01T16:47:24 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())
2024-05-01T16:47:24 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
2024-05-01T16:47:24 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns ()
2024-05-01T16:47:21 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
2024-05-01T16:47:21 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp ()
2024-05-01T16:47:21 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,opt1))
2024-05-01T16:47:21 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (,opt1)
2024-05-01T16:47:21 Notice opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'opt1'
2024-05-01T16:47:20 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for opt1(igb1)
2024-05-01T16:47:19 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for opt1(igb1)
2024-05-01T16:45:29 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())
2024-05-01T16:45:29 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
2024-05-01T16:45:29 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns ()
2024-05-01T16:45:26 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
2024-05-01T16:45:26 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp ()
2024-05-01T16:45:26 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,opt1))
2024-05-01T16:45:26 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (,opt1)
2024-05-01T16:45:26 Notice opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'opt1'
2024-05-01T16:45:25 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for opt1(igb1)
2024-05-01T16:45:24 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for opt1(igb1)
2024-05-01T16:43:32 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())
2024-05-01T16:43:32 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
2024-05-01T16:43:32 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns ()
2024-05-01T16:43:30 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
2024-05-01T16:43:30 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp ()
2024-05-01T16:43:30 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,opt1))
2024-05-01T16:43:30 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (,opt1)
2024-05-01T16:43:29 Notice opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'opt1'
2024-05-01T16:43:28 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for opt1(igb1)
2024-05-01T16:43:27 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for opt1(igb1)
2024-05-01T16:42:55 Notice kernel <6>igb1: link state changed to UP
2024-05-01T16:42:51 Notice kernel <6>igb1: link state changed to DOWN
2024-05-01T16:42:37 Notice kernel <6>igb1: link state changed to UP
2024-05-01T16:42:33 Notice kernel <6>igb1: link state changed to DOWN
2024-05-01T16:42:26 Notice kernel <6>igb1: link state changed to UP
2024-05-01T16:42:23 Notice kernel <6>igb1: link state changed to DOWN
2024-05-01T16:42:21 Notice kernel <6>igb1: link state changed to UP
2024-05-01T16:42:17 Notice kernel <6>igb1: link state changed to DOWN
Additional context
Similar error was reported in forum
Environment
OPNsense 24.1.6 (amd64).
AMD Embedded G series GX-412TC
Intel i211AT
The text was updated successfully, but these errors were encountered: