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

    What are dhcpleases / dhcpleases6 for?

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.4k 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.
    • B Offline
      bimmerdriver
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B Offline
          bimmerdriver
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            It could, it also depends on whether or not you have the "Register DHCP leases" option enabled in the forwarder or resolver.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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