question

JeffHeine-6276 avatar image
0 Votes"
JeffHeine-6276 asked JeffHeine-6276 commented

ping not resolving mdns .local domain

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-networkwindows-platform-network
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MotoX80 avatar image
0 Votes"
MotoX80 answered JeffHeine-6276 commented

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:\>


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MotoX80 Following your comment that dns-sd is not part of Windows, I have discovered that Bonjour for Windows has been installed on my PC, and dns-sd is part of that - oops I had not realised this. I think that helps to explain my confusion about what I am observing.
Thank you for your response in helping me resolve this basic issue

0 Votes 0 ·