Controlling dnsmasq Update Frequency Of Registered DHCP Leases
-
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.
-
Known bug, search Redmine.
-
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 .
-
It should already be fixed in 2.2.5 snapshots.