OPNsense Forum
Archive => 15.7 Legacy Series => Topic started by: aks on January 15, 2016, 02:24:27 pm
-
Hi,
There is topic that bugs me since a while, not sure whether I have something misconfigured or whether it is a real bug.
I am the DHCP service and the DNS resolver. The DHCP leases are registered into DNS, which works pretty well, but after a while they disappear and the DNS resolver doesn't provide answers anymore. After restarting the DNS service it works again.
It used to happen once a day and it took me a while to notice that it seem to be related to the daily PPPOE reset of the internet connection.
I just checked the
Register DHCP leases in the DNS Resolver
Register DHCP static mappings in the DNS Resolver
options at the DNS Resolver page.
If I need to provide some logs etc. just let me know.
Cheers
Andreas
-
Hi Andreas,
Could this be your issue? https://github.com/opnsense/core/issues/435
Are you also using a hybrid setup (v4 and v6)?
Cheers,
Franco
-
Hi Franco,
yes, the two cases might be related, although mine is closely bound to the PPPOE reconnect. After that the DHCP leases disappear from DNS.
I am not using IPv6. IPv6 configuration at the interface level is set to none on all interfaces.
In the log I discovered the following error messages: dhcpleases:
kqueue error: unknown
It seem like they appear from the point where DHCP leases disappear up the time when i restart the DNS resolver.
Taking the case you mentioned, I wonder whether DNS resolver gets a new PID after PPPOE disconnects and DHCP leases daemon doesn't find it anymore ? I have seen this message:
dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such process.
but only once.