ping not resolving mdns .local domain

Jeff Heine 21 Reputation points
2022-05-25T15:51:35.23+00:00

Hi

when I issue the command >ping anotherpc.local I get the response "Ping request could not find host anotherpc.local. Please check the name and try again."

C:\WINDOWS\system32>ping anotherpc.local
Ping request could not find host anotherpc.local. Please check the name and try again.

I can see on wireshark that an mdns request is being made for anotherpc.local and that anotherpc.local is responding. When I use the command >dns-sd -G v4 anotherpc.local I get a positive response

C:\WINDOWS\system32>dns-sd -G v4 anotherpc.local
Timestamp     A/R Flags if Hostname                  Address                                      TTL
15:43:11.931  Add     2  2 anotherpc.local.       192.168.15.24                                120

So the win10 PC can see the mdns response but the response is not getting through to the main DNS (ping) resolver.

The 192.168.15.xxx subnet is a local wired connection but is not connected to internet. The PC is connected to the internet via its (different) WIFI connection. I have seen in different posts that a lack of internet connection on a subnet may cause problems.

Is there any advise on what might be causing this and what I can try to get this working?

Many thanks

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,272 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
648 questions
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 31,571 Reputation points
    2022-05-26T00:14:13.407+00:00

    The dns-sd command does not appear to be part of Windows 10 or 11. I don't know where you got that from.

    On my home network, my pc's are all set to use DHCP on a WI-FI router. The router functions as the DNS server and uses .Home as the suffix. The DHCP configuration adds .Home to the Connection-specific DNS Suffix. I have replied to users whose router does not function as a DNS server.

    Are all machine using DHCP and the same DNS servers?

    C:\>nslookup 192.168.1.7
    Server:  Wireless_Broadband_Router.home
    Address:  192.168.1.1
    
    Name:    Test10.home
    Address:  192.168.1.7
    
    
    C:\>ipconfig /all
    
    Windows IP Configuration
    
       Host Name . . . . . . . . . . . . : Test10
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : home
    
    Ethernet adapter Ethernet0:
    
       Connection-specific DNS Suffix  . : home
       Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
       Physical Address. . . . . . . . . : 00-0C-29-DA-C7-A5
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : fd00::fd59:8d41:55c2:1fe3(Preferred)
       Temporary IPv6 Address. . . . . . : fd00::1951:1a0:457b:acf2(Preferred)
       Link-local IPv6 Address . . . . . : fe80::fd59:8d41:55c2:1fe3%7(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.1.7(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Wednesday, May 25, 2022 7:43:22 PM
       Lease Expires . . . . . . . . . . : Thursday, May 26, 2022 7:43:22 PM
       Default Gateway . . . . . . . . . : 192.168.1.1
       DHCP Server . . . . . . . . . . . : 192.168.1.1
       DHCPv6 IAID . . . . . . . . . . . : 100666409
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-29-2D-EE-26-00-0C-29-DA-C7-A5
       DNS Servers . . . . . . . . . . . : 192.168.1.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Ethernet adapter Bluetooth Network Connection:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
       Physical Address. . . . . . . . . : 80-38-FB-88-FD-50
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    
    C:\>
    C:\>ping blackhole
    
    Pinging blackhole.home [192.168.1.6] with 32 bytes of data:
    Reply from 192.168.1.6: bytes=32 time=1ms TTL=128
    Reply from 192.168.1.6: bytes=32 time<1ms TTL=128
    Reply from 192.168.1.6: bytes=32 time<1ms TTL=128
    Reply from 192.168.1.6: bytes=32 time<1ms TTL=128
    
    Ping statistics for 192.168.1.6:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 1ms, Average = 0ms
    
    
    C:\>nslookup blackhole
    Server:  Wireless_Broadband_Router.home
    Address:  192.168.1.1
    
    Name:    blackhole.home
    Address:  192.168.1.6
    
    
    C:\>
    

0 additional answers

Sort by: Most helpful