Hi, i'm having problems with resolving hostnames on busybox. Busybox was built statically using glibc-3.2.3.
On my busybox system I have the following (network related) files in /etc :
host.conf
hosts
networks
nsswitch.conf
protocols
resolv.conf
services
contents as follows:
host.conf:
order hosts, bind
multi on
hosts:
127.0.0.1 localhpst
networks:
loopback 127.0.0.0
localnet 127.0.0.0
nsswitch.conf:
passwd: compat
group: compat
hosts: files dns
networks: files
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
protocols:
too much to mention
resolv.conf:
nameserver 62.31.176.39
nameserver: 194.117.134.19
search
services:
too much to mention.
When I try and ping for example,
www.bit-tech.net I get the following:
Code:
# ping bit-tech.net
ping: bit-tech.net: Unknown host
Similarly another example:
IP addresses work fine, and the machine in question is even able to sucessfully act as a webserver. If i add an entry for bit-tech.net into /etc/hosts, then pinging bit-tech.net works fine, so i know the hosts file is acting as it should!
Is there something i need to compile into my kernel?
Any help appreciated, i've spent all day trying to sort this out.
