Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Controlling dnsmasq Update Frequency Of Registered DHCP Leases

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      serge
      last edited by

      Hi everyone,

      Current pfSense version: 2.2.4-RELEASE (i386)

      I have been experiencing very long delays between when a host that specifies a hostname obtains a DHCP lease and when that hostname becomes resolvable. I am using the DNS forwarder, dnsmasq, and have the "Register DHCP leases in DNS forwarder" option set. Under normal operation, approximately one hour passes between when a host that specifies a hostname obtains a DHCP lease and when that hostname becomes resolvable. If I restart the dnsmasq service, hostnames specified in DHCP leases become resolvable immediately.

      I suspect, but do not know for a fact, that the cause of the problem is that dnsmasq queries for hostnames in DHCP leases too infrequently. Is the frequency with which dnsmasq queries DHCP leases configurable? Would a scheduled job (e.g., cron) forcefully restarting dnsmasq be an appropriate solution? Is it possible that the problem is something else?

      Please note that this question had previously been asked by another user ten months ago, but went unanswered, in this thread: https://forum.pfsense.org/index.php?topic=86455 . I have started a new thread due to the age of the older thread. If the preferred form of behavior on pfSense forums is to resurrect old threads rather than start new ones, then I apologize for my ignorance.

      Thank you in advance to anyone who can provide help or information.

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        Known bug, search Redmine.

        1 Reply Last reply Reply Quote 0
        • S Offline
          serge
          last edited by

          @doktornotor:

          Known bug, search Redmine.

          Thanks for showing me the way. To anyone else affected by this problem, I found the bug at https://redmine.pfsense.org/issues/4931 .

          1 Reply Last reply Reply Quote 0
          • C Offline
            cmb
            last edited by

            It should already be fixed in 2.2.5 snapshots.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.