Date: Wed, 30 Apr 2014 21:19:57 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: Requirement for proper DNS resolving / source port = 0 On Thu, May 01, 2014 at 03:08:26AM +0200, Stefan de Konink wrote: > Hi, > > I am setting up an embedded system, and consider that I have not set > up anything other then I have explicitly described. > > I am using a Linux kernel 3.14.2, and have set up kernel > autoconfiguration (ip=dhcp). That having said, I am able to ping > external hosts using busybox. > > My current problem is that I am unable to resolve hostnames in my > system. The file /etc/resolv.conf is in place, and I am observing > outgoing DNS requests. The strange thing about them is that the > source port is actually 0, not illegal, but it isn't getting any > replies. > > I have tried to add /etc/hosts and /etc/services. I am able to ping > localhost, which does resolve to an IP address using the entry from > /etc/hosts. > > Is this a bad kernel configuration? Does anyone have a hint where to > look for? > > My guess it is related to here... and I guess it is expecting udp > port randomization, which does not seem to happen. Any clues? One further idea -- could you send the output of strace (using the -o option to write a log file, and -f if the program you're using is multithreaded or forking) showing a failed lookup? This might help understand what's happening. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.