OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • DHCP leases missing in DNS resolver
« previous next »
  • Print
Pages: [1]

Author Topic: DHCP leases missing in DNS resolver  (Read 8143 times)

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
DHCP leases missing in DNS resolver
« 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

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: DHCP leases missing in DNS resolver
« Reply #1 on: January 15, 2016, 04:47:45 pm »
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
Logged

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: DHCP leases missing in DNS resolver
« Reply #2 on: January 16, 2016, 01:18:13 pm »
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:

Code: [Select]
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:

Code: [Select]
dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such process.
but only once.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • DHCP leases missing in DNS resolver
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2