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

    Dhcp lease shows no hostname

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 5.1k 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.
    • M
      MacHack
      last edited by

      Hi, I've been using pfsense for a few days now. In fact, just yesterday, pfsense replaced our previous firewall at my workplace. I'm using pfsense Live CD 1.2 RC2, installed on a 2GB CF to IDE adapter.

      I have 5 other XP PCs that consistently show up with a hostname on the DHCP leases page.
      I have 1 Windows XP PC that consistently shows up with no hostname on the DHCP leases page.
      The PC is not configured any differently than the others.

      The result is that the one does not show a hostname on the DHCP leases page and thus does not look up in DNS. We're using the option that synchronizes static and dynamic DHCP leases with the local DNS forwarder.

      I tried ipconfig /release, ipconfig /renew, but that seems to confuse the DHCP server even more. At one point, the machine wound up with a total of 4 leases in /var/dhcpd/var/db/dhcpd.leases

      
      lease 10.XXX.YYY.233 {
        starts 2 2007/10/09 14:40:00;
        ends 3 2007/10/10 14:40:00;
        tstp 3 2007/10/10 14:40:00;
        binding state active;
        next binding state free;
        hardware ethernet AA:BB:CC:DD:EE:FF;
        uid "\001\000\021\021u;}";
        client-hostname "amiyumi";
      }
      lease 10.XXX.YYY.233 {
        starts 2 2007/10/09 16:19:19;
        ends 3 2007/10/10 16:19:19;
        binding state active;
        next binding state free;
        hardware ethernet AA:BB:CC:DD:EE:FF;
        uid "\001\000\021\021u;}";
        client-hostname "amiyumi";
      }
      lease 10.XXX.YYY.233 {
        starts 2 2007/10/09 16:19:19;
        ends 2 2007/10/09 16:22:34;
        tstp 2 2007/10/09 16:22:34;
        binding state free;
        hardware ethernet AA:BB:CC:DD:EE:FF;
        uid "\001\000\021\021u;}";
      }
      lease 10.XXX.YYY.233 {
        starts 2 2007/10/09 16:22:42;
        ends 3 2007/10/10 16:22:42;
        binding state active;
        next binding state free;
        hardware ethernet AA:BB:CC:DD:EE:FF;
        uid "\001\000\021\021u;}";
        client-hostname "amiyumi";
      }
      
      

      I'm working around this for now by assigning those misbehaving machines static leases. It's definitely not what I wanted to do. Any ideas what's going on? Is this a dnsmasq 2.39 bug that's fixed in 2.40? Or a bug in isc-dhcpd? Or a bug in pfsense somewhere?

      1 Reply Last reply Reply Quote 0
      • R
        rsw686
        last edited by

        I don't think this is a pfSense issue. You have 5 XP boxes that work fine. On my network I have 9 XP boxes and they all show the hostname. I have a feeling there is some setting in XP causing the issue.

        Heres one thing to check. In Network Connections right click on the local area connection select properties. Select Internet Protocol TCP/IP and click properties. In that dialog click advanced. On the DNS tab make sure "register this connection's addresses in DNS" is checked.

        1 Reply Last reply Reply Quote 0
        • M
          MacHack
          last edited by

          @rsw686:

          Heres one thing to check. In Network Connections right click on the local area connection select properties. Select Internet Protocol TCP/IP and click properties. In that dialog click advanced. On the DNS tab make sure "register this connection's addresses in DNS" is checked.

          On all machines, "Register this connection's addresses in DNS" is checked. Also, the XP firewall is enabled on all of them.

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