Problem with DNS resolver
-
Run
pkg upgrade
to check if there are any updated system packages available.We build newer versions of packages if they are available with fixes for specific issues that users may be hitting. They are then available to upgrade to but these are not expected or required upgrades.
In the instance that upgrades are required for security issues we would usually either issues an announcement or a point release of pfSense depending on the severity.
I would not expect the Unbound version to be the issue here. But it also doesn't hurt to update it and it's an easy test.
Steve
-
@stephenw10 said in Problem with DNS resolver:
pkg upgrade
[2.7.2-RELEASE][admin@xxxxx]/root: pkg upgrade Updating pfSense-core repository catalogue... Fetching meta.conf: 0% Fetching packagesite.pkg: 0% pfSense-core repository is up to date. Updating pfSense repository catalogue... Fetching meta.conf: 0% Fetching packagesite.pkg: 0% pfSense repository is up to date. All repositories are up to date. Checking for upgrades (3 candidates): 100% 3 B 0.0kB/s 00:01 Processing candidates (3 candidates): 100% 3 B 0.0kB/s 00:01 The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: curl: 8.4.0 -> 8.6.0 [pfSense] Number of packages to be upgraded: 1 1 MiB to be downloaded. Proceed with this action? [y/N]:
-
Yup, you can upgrade curl. But not upgrading it should not be an issue.
-
disabled DHCP Registration
Rebooted the system and the problem recurred. unbound DNS Does not resolve
-
And it's still just continually restarting?
Is there anything in the main system log that's looping? Something else could be restarting Unbound.
-
I stopped the service and restarted it and it worked right away.
But in the service list it always showed it running green even when it's not working
-
And in the main system log?
-
@Unoptanio why/how can you have both unbound 1.18 and 1.19.1 on the same system both starting?
Did you upgrade pfsense? That is a pretty fast upgrade
LIke 1 minute?
-
Huh, nice catch! Well that seems suspicious!
-
Latest updates on the situation:
This morning I restarted pfsense at 06:30AM
After the first restart, the unbound DNS in the service list is displayed with a working green icon.
But it's not actually working.
I did a manual restart of the service and it started working.
This problem occurs every time I restart pfsense.Below is a log made at 08:45 AM showing the two startups of the service just described
Status/System Logs/System/DNS Resolver
Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: gateway.facebook.com Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: cdn.fbsbx.com Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: scontent.xx.fbcdn.net Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: lookaside.facebook.com Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: graph.facebook.com Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: web.facebook.com Jun 7 07:00:02 filterdns 37407 merge_config: configuration reload Jun 7 07:00:02 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 07:00:02 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:55:05 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:55:02 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:51:28 unbound 17795 [17795:0] info: start of service (unbound 1.19.1). Jun 7 06:51:28 unbound 17795 [17795:0] notice: init module 0: iterator Jun 7 06:50:02 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:50:02 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:45:03 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:45:03 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mtalk.google.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: chat-dll.google.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mobile-webview.google.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: accounts.google.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: inbox.google.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mail.google.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_YouTube host: s.youtube.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_YouTube host: redirector.googlevideo.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_YouTube host: yt3.ggpht.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_YouTube host: youtubei.googleapis.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_YouTube host: www.youtube.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_YouTube host: i.ytimg.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: chat.cdn.whatsapp.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: web.whatsapp.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: g.whatsapp.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: static.whatsapp.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: dit.whatsapp.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: c.whatsapp.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Instagram host: gateway.instagram.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Instagram host: graph.instagram.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Instagram host: i.instagram.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: edge-mqtt.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: static.xx.fbcdn.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: m.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: portal.fb.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: snaptu-z.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: www.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: gateway.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: cdn.fbsbx.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: scontent.xx.fbcdn.net Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: lookaside.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: graph.facebook.com Jun 7 06:45:03 filterdns 37407 Adding Action: pf table: Block_Facebook host: web.facebook.com Jun 7 06:45:03 filterdns 37407 merge_config: configuration reload Jun 7 06:41:46 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:41:46 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:36:46 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:36:46 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:31:47 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:31:47 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mtalk.google.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: chat-dll.google.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mobile-webview.google.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: accounts.google.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: inbox.google.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mail.google.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_YouTube host: s.youtube.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_YouTube host: redirector.googlevideo.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_YouTube host: yt3.ggpht.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_YouTube host: youtubei.googleapis.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_YouTube host: www.youtube.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_YouTube host: i.ytimg.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: chat.cdn.whatsapp.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: web.whatsapp.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: g.whatsapp.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: static.whatsapp.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: dit.whatsapp.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: c.whatsapp.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Instagram host: gateway.instagram.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Instagram host: graph.instagram.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Instagram host: i.instagram.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: edge-mqtt.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: static.xx.fbcdn.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: m.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: portal.fb.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: snaptu-z.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: www.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: gateway.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: cdn.fbsbx.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: scontent.xx.fbcdn.net Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: lookaside.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: graph.facebook.com Jun 7 06:31:47 filterdns 37407 Adding Action: pf table: Block_Facebook host: web.facebook.com Jun 7 06:31:47 filterdns 37407 merge_config: configuration reload Jun 7 06:31:27 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mtalk.google.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: chat-dll.google.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mobile-webview.google.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: accounts.google.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: inbox.google.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Gmail_Fqdn_list host: mail.google.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_YouTube host: s.youtube.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_YouTube host: redirector.googlevideo.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_YouTube host: yt3.ggpht.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_YouTube host: youtubei.googleapis.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_YouTube host: www.youtube.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_YouTube host: i.ytimg.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: chat.cdn.whatsapp.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: web.whatsapp.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: g.whatsapp.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: static.whatsapp.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: dit.whatsapp.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_WhatsApp host: c.whatsapp.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Instagram host: gateway.instagram.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Instagram host: graph.instagram.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Instagram host: i.instagram.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: edge-mqtt.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: static.xx.fbcdn.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: m.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: portal.fb.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: snaptu-z.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: www.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: gateway.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: cdn.fbsbx.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: scontent.xx.fbcdn.net Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: lookaside.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: graph.facebook.com Jun 7 06:31:27 filterdns 37407 Adding Action: pf table: Block_Facebook host: web.facebook.com Jun 7 06:31:27 filterdns 37407 merge_config: configuration reload Jun 7 06:31:25 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again. Jun 7 06:31:24 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:31:24 filterdns 37146 Adding host mtalk.google.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Gmail_Fqdn_list host: mtalk.google.com Jun 7 06:31:24 filterdns 37146 Adding host chat-dll.google.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Gmail_Fqdn_list host: chat-dll.google.com Jun 7 06:31:24 filterdns 37146 Adding host mobile-webview.google.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Gmail_Fqdn_list host: mobile-webview.google.com Jun 7 06:31:24 filterdns 37146 Adding host accounts.google.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Gmail_Fqdn_list host: accounts.google.com Jun 7 06:31:24 filterdns 37146 Adding host inbox.google.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Gmail_Fqdn_list host: inbox.google.com Jun 7 06:31:24 filterdns 37146 Adding host mail.google.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Gmail_Fqdn_list host: mail.google.com Jun 7 06:31:24 filterdns 37146 Adding host s.youtube.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_YouTube host: s.youtube.com Jun 7 06:31:24 filterdns 37146 Adding host redirector.googlevideo.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_YouTube host: redirector.googlevideo.com Jun 7 06:31:24 filterdns 37146 Adding host yt3.ggpht.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_YouTube host: yt3.ggpht.com Jun 7 06:31:24 filterdns 37146 Adding host youtubei.googleapis.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_YouTube host: youtubei.googleapis.com Jun 7 06:31:24 filterdns 37146 Adding host www.youtube.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_YouTube host: www.youtube.com Jun 7 06:31:24 filterdns 37146 Adding host i.ytimg.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_YouTube host: i.ytimg.com Jun 7 06:31:24 filterdns 37146 Adding host chat.cdn.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_WhatsApp host: chat.cdn.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding host web.whatsapp.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_WhatsApp host: web.whatsapp.com Jun 7 06:31:24 filterdns 37146 Adding host g.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_WhatsApp host: g.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding host static.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_WhatsApp host: static.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding host dit.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_WhatsApp host: dit.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding host c.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_WhatsApp host: c.whatsapp.net Jun 7 06:31:24 filterdns 37146 Adding host gateway.instagram.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Instagram host: gateway.instagram.com Jun 7 06:31:24 filterdns 37146 Adding host graph.instagram.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Instagram host: graph.instagram.com Jun 7 06:31:24 filterdns 37146 Adding host i.instagram.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Instagram host: i.instagram.com Jun 7 06:31:24 filterdns 37146 Adding host edge-mqtt.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: edge-mqtt.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host static.xx.fbcdn.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: static.xx.fbcdn.net Jun 7 06:31:24 filterdns 37146 Adding host m.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: m.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host portal.fb.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: portal.fb.com Jun 7 06:31:24 filterdns 37146 Adding host snaptu-z.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: snaptu-z.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host www.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: www.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host gateway.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: gateway.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host cdn.fbsbx.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: cdn.fbsbx.com Jun 7 06:31:24 filterdns 37146 Adding host scontent.xx.fbcdn.net Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: scontent.xx.fbcdn.net Jun 7 06:31:24 filterdns 37146 Adding host lookaside.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: lookaside.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host graph.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: graph.facebook.com Jun 7 06:31:24 filterdns 37146 Adding host web.facebook.com Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: web.facebook.com Jun 7 06:31:03 unbound 81793 [81793:0] info: start of service (unbound 1.19.1). Jun 7 06:31:03 unbound 81793 [81793:0] notice: init module 0: iterator
In particular line:
Jun 7 06:31:24 filterdns 37146 Adding Action: pf table: Block_Facebook host: web.facebook.com
Jun 7 06:31:03 unbound 81793 [81793:0] info: start of service (unbound 1.19.1).
Jun 7 06:31:03 unbound 81793 [81793:0] notice: init module 0: iterator
Jun 7 06:25:03 filterdns 29751 failed to resolve host mobile-webview.google.com will retry later again......
.....
Jun 7 06:51:28 unbound 17795 [17795:0] info: start of service (unbound 1.19.1).
Jun 7 06:51:28 unbound 17795 [17795:0] notice: init module 0: iteratorUsing the "pkg search unbound" command we discovered that my pfsense 2.7.2 had DNS unbound version 1.18.0_1.
Using the command "pkg install unbound-1.19.1" I installed the new update to version 1.19.1
I did a system reboot.
Throughout yesterday the log showed the two versions but I think it's normal, there are times that demonstrate the relevant version at that moment.
Using the command "cat /var/log/resolver.log | grep 'start'" I can see that only version 1.19.1 appears in today's logs
I had also disabled DHCP Registration in Unbound DNS because it caused the service to continually restart.
The situation has improved, there are no longer continuous restarts of the unbound DNS service and we also have the latest version 1.19.1.
What can I do to resolve the problem that after the first start of pfsense the unbound DNS does not work (even if in the list of services the unbound DNS appears with a working green check box icon) and I have to restart the service manually? -
Yesterday..... using the "pkg search unbound" command we discovered that my pfsense 2.7.2 had DNS unbound version 1.18.0_1.
Using the command "pkg install unbound-1.19.1" I installed the new update to version 1.19.1
I did a system reboot.
Throughout yesterday the log showed the two versions but I think it's normal, there are times that demonstrate the relevant version at that moment.
Using the command "cat /var/log/resolver.log | grep 'start'" I can see that only version 1.19.1 appears in today's logs
I had also disabled DHCP Registration in Unbound DNS because it caused the service to continually restart.
Thanks to you I discovered another interesting command "pkg upgrade" which checks if there are updates on all packages
The situation has improved, there are no longer continuous restarts of the unbound DNS service and we also have the latest version 1.19.1.
What can I do to resolve the problem that after the first start of pfsense the unbound DNS does not work (even if in the list of services the unbound DNS appears with a working green check box icon) and I have to restart the service manually? -
@Unoptanio said in Problem with DNS resolver:
I had also disabled DHCP Registration in Unbound DNS because it caused the service to continually restart.
So this was the real culprit ...
The situation has improved, there are no longer continuous restarts of the unbound DNS service and we also have the latest version 1.19.1.
What can I do to resolve the problem that after the first start of pfsense the unbound DNS does not work (even if in the list of services the unbound DNS appears with a working green check box icon) and I have to restart the service manually?Maybe enable verbose logging to see if there is a hint in the log what is causing unbound not to start properly ...
-
Where do you enable verbose logging?
-
@Unoptanio said in Problem with DNS resolver:
Where do you enable verbose logging?
services_unbound_advanced.php
scroll down - "log level"
-
Don't worry about this one. The domain "mobile-webview.google.com" doesn't exist ....
I've tried several revolvers world wide : not found.@Unoptanio said in Problem with DNS resolver:
Jun 7 06:25:03 filterdns 29751 failed to resolve host mobile-webview.google.com will retry later again.
You've set yourself "mobile-webview.google.com" as filterdns is trying its out most best to resolve it.
Not very useful.This line can create 'huge' problems with DNS :
@Unoptanio said in Problem with DNS resolver:
Jun 7 07:00:02 filterdns 37407 Adding Action: pf table: Block_Facebook host: web.facebook.com
Read this : Aliases.
This is a typical case of :
Where "not useful" is an understatement.
When a typical *.facebook.com host name is resolved, it will return many, like a lot, of IP addresses.
The filterdns process is executed every xx seconds or so to update the relation 'host name' => IPs. If the list with IP changes, and it will change constantly, the firewall is reload, .... and process (like unbound) get restarted.
Do you see where this is going ?Remove all your references to google or facebook in your aliases tables. If you need to filter these, use pfBlockerng.
Your unbound will say thank you to you. -
@Unoptanio said in Problem with DNS resolver:
Disable unbound listening on the WAN and see if it stays up.
-
Yeah the first thing I would do is remove those two failing hosts that don't exist.
Jun 7 06:41:46 filterdns 37407 failed to resolve host mobile-webview.google.com will retry later again. Jun 7 06:41:46 filterdns 37407 failed to resolve host chat-dll.google.com will retry later again.
-
@Popolou
Done -
@stephenw10
Done -
Ok!. It seems like everything is working fine now.
I restarted the PC at 7:00 am.
After the reboot everything works fine.
Unbound DNS works.In summary: steps to solve the problem
- Disabled DHCP Registration in DNS Unbound (caused continuous restarts of the service)
- Disable unbound listening on the WAN (caused the service to be restarted twice)
- It is recommended to install the latest version of the Unbound DNS service