Hi. Running latest amd64 5.6 (p16, just upgraded to it), for some reason my nslookup keeps trying to use port 48830 to connect to the NS server. gethostbyname() works just fine, all the apps resolve the hostnames just fine, but host/dig/nslookup don't.
I have 'nameserver 127.0.0.1' in /etc/resolv.conf. Changing it to [127.0.0.1]:53 didn't help. nslookup works if I add '-port 53' to the command line though. Looking for 48830 in /etc or /usr/src yields nothing at all (but it is 0xbebe) 14953 nslookup CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_UDP) 14953 nslookup RET socket 3 14953 nslookup CALL fcntl(0x3,F_DUPFD,0x14) 14953 nslookup RET fcntl 20/0x14 14953 nslookup CALL bind(0x14,0x321cd268a80,0x10) 14953 nslookup STRU struct sockaddr { AF_INET, 0.0.0.0:0 } 14953 nslookup CALL sendmsg(0x14,0x7f7ffffe44d0,0) 14953 nslookup STRU struct sockaddr { AF_INET, 127.0.0.1:48830 } 14953 nslookup GIO fd 20 wrote 34 bytes "\M-p\M-T\^A\0\0\^A\0\0\0\0\0\0 zzzzzzzzz\^B2y\^Cnet\0\0\^A\0\^A" Where can it possible be getting this port from? Thank you, Pawel.