I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working.
I can't resolve domain names. I can ping my DNS server. I can resolve using that DNS on other machines so I know it's not the server.
~ # cat /etc/resolv.conf nameserver 192.168.13.5 ~ # nslookup google.com Server: 192.168.13.5 Address 1: 192.168.13.5 nslookup: can't resolve 'google.com' ~ # ping -c 1 google.com ping: bad address 'google.com' ~ # ping -c 1 192.168.13.5 PING 192.168.13.5 (192.168.13.5): 56 data bytes 64 bytes from 192.168.13.5: seq=0 ttl=128 time=0.382 ms --- 192.168.13.5 ping ststistics --- 1 packets transmitted, 1 packets recieved, 0% packet loss reound-trip min/avg/max = 0.382/0.382/0.382 ms
Any ideas what I left out? here is my config: http://pastebin.com/vt4vGTgJ
If it's not the kernel, what could I be missing? I am using busybox, statically linked. there are no shared libraries in this system.
EDIT2 The problem is with busybox. I used a precompiled one and did not have issues. I need to look into compilation options with it. Thanks for your help.
There are known issues with DNS functionality in statically-linked glibc programs (like busybox in this case), because libnss must be dynamically loaded. Building a uClibc toolchain and linking busybox against that would resolve this.