What are dhcpleases / dhcpleases6 for?
-
I'm running two pfsense systems. Both are running as guests on a hyper-v server and are connected to the same WAN port, which is bridged through my gateway. One system is 2.3.1 and it's using a hurricane electric tunnel for ipv6. The other system is 2.3.3 development snapshot with the patches for bug 5993 (dhcp6 before RA) for native ipv6. Both systems are working properly and have their own addresses. The first system has both dhcpleases and dhcpleases6 running. The second only has dhcpleases6 running. Since the ipv4 configuration is identical, I'm not clear why dhcpleases isn't running on both systems. Has there been a change in dhcpleases for 2.3.2? Is there an explanation for this?
-
They parse the DHCP leases (IPv4 and IPv6 in separate daemons) so that the hostnames can be put in /etc/hosts and used by the DNS Resolver and Forwarder.
They wouldn't be tied to the WAN DHCP settings but the LAN or other internal DNS and DHCP settings.
-
Thank you for the reply. Since you mention dns, a difference between the two systems that I didn't think of is that the 2.3.1 system is using the forwarder and the 2.3.3 development system is using the resolver. (No particular reason other than the 2.3.1 system was set up before the resolver became default and we haven't changed it.) Does that explain why dhcpleases is running on the 2.3.1 system and not on the development system?
-
It could, it also depends on whether or not you have the "Register DHCP leases" option enabled in the forwarder or resolver.