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

    Windows Work PC Can't Resolve Local DNS without FQDN

    Scheduled Pinned Locked Moved DHCP and DNS
    11 Posts 2 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
      striker-pl
      last edited by

      So, as an update to this, it is definitely an issue with the PC.

      If I modify the registry key:

      HKLM\SOFTWARE\Policies\Microsoft\Windows
      NT\DNSClient

      To add my local domain to the DNS search list and then run an IPCONFIG /REGISTERDNS from an elevated prompt, things start working the way they should. Of course this gets overwritten by GPO.

      Anyone know of a permanent fix for this that doesn't involve harassing my IT department to modify their GPO?

      1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8
        last edited by Bob.Dig

        Recently had this problem too and it is completely gone now. I think the solution was to delete everything in:

        /var/dhcpd/var/db
        
        S 1 Reply Last reply Reply Quote 0
        • S
          striker-pl @Bob.Dig
          last edited by

          @bob-dig so I found three files in that folder, it appears to be a cache of all of my DHCP leases. I renamed all three files as:

          dhcpd.leases -> dhcpd.leases.bk
          dhcpd.leases~ -> dhcpd.leases~.bk
          dhcpd6.leases -> dhcpd6.leases.bk

          I then ensured that my temporary settings on my Windows workstation were reversed and I tested with nslookup.

          When querying hostname I got:

          c:\nslookup hostname
          Server: Unknown
          Address: 10.0.110.1
          
          *** UnKnown can't find hostname: Non-existant domain
          

          When querying hostname.domain I got:

          c:\nslookup hostname.domain
          Server: Unknown
          Address: 10.0.110.1
          
          Name: hostname.domain
          Address: 10.0.100.92
          

          So this did not resolve the issue. I have renamed the files back to their original names so I can retain my DHCP lease info.

          Thanks for the suggestion!

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @striker-pl
            last edited by Bob.Dig

            @striker-pl Did you reboot? I did.
            But I also wanted to use only static mappings in the first place.
            Is your ARP-Table "clean"?

            S 1 Reply Last reply Reply Quote 0
            • S
              striker-pl @Bob.Dig
              last edited by

              @bob-dig no, I did not reboot after the changes. I've got 11 days of uptime, last rebooted to upgrade to the latest build.

              I would like to use a mix of static and dhcp assigned mappings.

              I'm not sure what you mean by "clean"? How would you suggest I verify that?

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @striker-pl
                last edited by Bob.Dig

                @striker-pl said in Windows Work PC Can't Resolve Local DNS without FQDN:

                I'm not sure what you mean by "clean"? How would you suggest I verify that?

                If you have this problem.

                S 1 Reply Last reply Reply Quote 0
                • S
                  striker-pl @Bob.Dig
                  last edited by

                  @bob-dig OK, I did see some IP addresses in the hostname column of the ARP table, so I cleared the entire ARP table, cleared the DHCP leases, and rebooted pfSense.

                  Still no improvement in the name resolution from my work PC.

                  Bob.DigB 1 Reply Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @striker-pl
                    last edited by Bob.Dig

                    @striker-pl To bad. I faced the similar problem, but it is gone here, don't know why. For me it started when I used pfSense 2.5.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      striker-pl @Bob.Dig
                      last edited by

                      @bob-dig thanks anyway for taking the time to read and respond!

                      Bob.DigB 1 Reply Last reply Reply Quote 0
                      • Bob.DigB
                        Bob.Dig LAYER 8 @striker-pl
                        last edited by Bob.Dig

                        @striker-pl One last thing, maybe it helps you, didn't helped me though, but it is the same topic: 2.5 connecting via hostname not working across interfaces

                        But notice that I changed topic after the gap of "24 Days later", where an ACL in Unbound was the problem, not related to the original problem anymore.

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