Bluefish-2.2.10_1-- HTML editor designed for the experienced web designer bluegps-linux-2.0 -- Command line tool to download datalogs from the Royaltek RBT-3000 bluetooth GPS receiver bluej-4.1.1 -- Integrated Java environment designed for introductory teaching.
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: EDIT: 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. I ran into the same issue and it turns out that busybox is picky about the format for resolv.conf. There must be exactly one blank between the nameserver tag and the address for nslookup to work. In addition /etc/nsswitch.conf has to include dns for host.
busybox master (git hash 349d72c19) sysroot-glibc-linaro-2.25-2018.05-arm-linux-gnueabihf root@4000000a:# cat /etc/nsswitch.conf passwd: files compat shadow: files compat hosts: files dns compat Yes the question is old, but the current busybox still behaves this way. I used xxd below to show the number of blanks in resolv.conf This fails: root@4000000a:# xxd /etc/resolv.conf 00000000: 6e61 6d65 7365 7276 6572 2020 382e 382e nameserver 8.8. 00000010: 382e 380a 8.8. Root@4000000a:# nslookup www.cnn.com nslookup: bad address ' 8.8.8.8' and this works: root@4000000a:# xxd /etc/resolv.conf 00000000: 6e61 6d65 7365 7276 6572 2038 2e38 2e38 nameserver 8.8.8 00000010: 2e38 0a.8.