DNS Resolver service unable to start

Started by Markus700, January 27, 2017, 04:03:53 PM

Previous topic - Next topic
Hello Friends,

i had the DNS Resolver unbound running for a few days uptime. Suddenly it stopped working. I noticed the service stopped and i was unable to restart it. Tried VM restart and Host restart all without success. DNS forwarder works fine. I have not been able to find anything in the system log. Is there any place else i could find information to provide to you?

I have been able to restart the service. But once i enable the option "Register DHCP leases in the DNS Resolver" the service fails. Restart is possible after deactivating the option.

February 18, 2017, 04:06:21 PM #2 Last Edit: February 18, 2017, 04:20:26 PM by alphazo
I'm running the LibreSSL variant of Opnsense. The version 17.1 was running just fine but after upgrading to 17.1.1 I couldn't start unbound anymore.
The only workaround was the one mentionned in this thread and which is disabling "Register DHCP leases in the DNS Resolver".

For information here are the other options enabled on my configuration:

System: Settings: General
- DNS servers: two external DNS servers are indicated   
- DNS server options: 
[ ] Allow DNS server list to be overridden by DHCP/PPP on WAN
[ ] Do not use the DNS Forwarder/Resolver as a DNS server for the firewall
   
Services: DNS Resolver: General
- Enable:   [X]  Enable DNS Resolver
- Network Interfaces: LAN
- DNSSEC    [X] Enable DNSSEC Support
- DNS Query Forwarding    [X] Enable Forwarding Mode
- DHCP Registration [X working on 17.1] Register DHCP leases in the DNS Resolver
- DHCP Domain Override [ ]
- Static DHCP [X] Register DHCP static mappings in the DNS Resolver
- TXT Comment Support [ ]

Is this a know issue?

Thanks

February 19, 2017, 04:00:50 PM #3 Last Edit: February 19, 2017, 04:18:58 PM by Noctur
Check in the forum... there is an updated unbound resolver available for testing that resolves a few issues. Not sure if the solutions are related to your problems.

Quote from: franco on February 17, 2017, 09:50:09 AM
Unbound 1.6 came out a while ago but we've been holding it back to not introduce uncontrolled regressions into the 17.1 release so far. Local tests have been successful and we're targeting inclusion in 17.1.2 now.

Here are the release notes:

http://www.unbound.net/download.html

Install 1.6 via:

# pkg add -Af https://pkg.opnsense.org/snapshots/unbound-1.6.0_1.txz

Revert to 1.5.10 via:

# opnsense-revert unbound

A restart of the service is necessary.

Thank you Franco!
overkill: Dell SFF i5, 16gb, 120gb SSD, 4x gb NICs
OPNsense 21.1.x