Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: mDNSResponder name resolution broken in 7.99.4

21 views
Skip to first unread message

Richard PALO

unread,
Sep 6, 2016, 12:14:55 PM9/6/16
to curren...@netbsd.org, Fredrik Pettai
Le 24/02/15 08:19, Fredrik Pettai a écrit :
> Hi,
>
> I noted that mDNSResponder name resolution stopped working on 7.99.4 (built 4 feb)
>
> -bash-4.3$ more /etc/nsswitch.conf | grep hosts
> hosts: files dns mdnsd multicast_dns
> # hosts: dns, files, nis, mdnsd, multicast_dns
>
> -bash-4.3$ ping morran.local
> ping: Cannot resolve "morran.local" (Resolver internal error)
>
> A datapoint is that 7.99.3 worked fine.
> (and 7_BETA (as of 201502191150Z) still works as expected...)
>
> -bash-4.3$ ping frpet1n.local
> PING frpet1n.local (192.168.1.103): 64 data bytes
> 64 bytes from 192.168.1.103: icmp_seq=0 ttl=255 time=1.417000 ms
> ^C
>
> /P
>

I came across this same issue... NetBSD 7.99.36 i386

I tried:
> # /usr/sbin/mdnsd -debug
> CheckNATMappings: Failed to allocate port 5350 UDP multicast socket for NAT-PMP announcements

in another session:
> nb32$ grep 5350 /etc/services
> # 5350 tcp Reserved
> pcp-multicast 5350/udp # Port Control Protocol [IESG] [IETF_Chair] [RFC6887]
> nb32$ ping omnis.local
> ping: Cannot resolve "omnis.local" (Resolver internal error)


where it works okay on a different (linux) client:
> richard@odroid-001e06336dd6:/home/richard$ ping omnis.local
> PING omnis.local (192.168.0.6) 56(84) bytes of data.
> 64 bytes from omnis.local (192.168.0.6): icmp_seq=1 ttl=255 time=0.569 ms
> 64 bytes from omnis.local (192.168.0.6): icmp_seq=2 ttl=255 time=0.659 ms
>...



--
Richard PALO

Richard PALO

unread,
Sep 7, 2016, 8:57:54 AM9/7/16
to Fredrik Pettai, curren...@netbsd.org
Le 06/09/16 21:37, Fredrik Pettai a écrit :

> That was fixed a long time ago AFAICR...
> At least it works for me with fairly recent (amd64) kernel...
>
> bash-4.3# uname -a
> NetBSD stinky 7.99.36 NetBSD 7.99.36 (GENERIC.201608250400Z) amd64
> bash-4.3# ping morran.local
> PING morran.local (193.10.5.78): 56 data bytes
> 64 bytes from 193.10.5.78: icmp_seq=0 ttl=255 time=0.098882 ms
> ^C
> ----morran.local PING Statistics----
> 1 packets transmitted, 1 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 0.098882/0.098882/0.098882/0.000000 ms
>
> /P
>

I updated to latest and rebuilt.. NetBSD 7.99.36 (GENERIC) i386
(gcc 5.4 build)

same error.

Have you happened to try on i386 (not amd64)?

--
Richard PALO

Roy Marples

unread,
Sep 7, 2016, 9:43:59 AM9/7/16
to Richard PALO, curren...@netbsd.org, Fredrik Pettai
On 06/09/2016 17:14, Richard PALO wrote:
> I came across this same issue... NetBSD 7.99.36 i386
>
> I tried:
>> # /usr/sbin/mdnsd -debug
>> CheckNATMappings: Failed to allocate port 5350 UDP multicast socket for NAT-PMP announcements

I see this as well on i386 but not on amd64.
I suggest filing a PR.

Roy
0 new messages