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

    Pinging local computer name resolves to WAN IP.

    DHCP and DNS
    2
    2
    236
    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.
    • R
      r2the3rd
      last edited by

      I've had an issue where Win10 computers that are assigned an IP via DHCP have been unable to access other computers through their //ComputerName when using explorer. All the computers can be pinged and accessed through their IP addresses, so while not a critical issue, it is a bit annoying. After a little digging I found that pinging any ComputerName from a DHCP'd computer is resolving to the WAN IP which I assume is being caused by some setting in the DNS Resolver. Any device that has Static DHCP Mappings assigned in pfSense can be pinged and accessed through their set Hostname without issue, but I would rather not have to static map every computer either in pfSense or in that computers network settings. So the question is, what setting am I looking for that will keep local name requests local?

      Other notes:
      IPV4 only
      Pure NAT for reflection and port forwarding.
      I am using my purchased domain name in general setup.
      From what I can tell "Register DHCP leases in the DNS Resolver" is no longer a selectable option as it never worked.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @r2the3rd
        last edited by

        @r2the3rd said in Pinging local computer name resolves to WAN IP.:

        I am using my purchased domain name in general setup.

        That is going to be problematic out of the gate with caveats that have to be taken into account.. Registering dhcp clients has always been problematic since it requires a restart of unbound on every dhcp event.

        if you want host.domain.tld to resolve to a local IP, create a local entry is the most sure fire way to make sure the fqdn resolves to the IP you want.

        If you switched over to the kea then registration isn't a thing yet..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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