minimal name resolution configuration?

David Mathog mathog at
Sat Mar 2 00:41:50 UTC 2019

The name resolution configuration which worked under 2.6.* kernels and a 
busybox from 10 years ago no longer functions.  What is the minimum 
needed to get name resolution with a 3.14.* kernel and current busybox?

This is what I have, which doesn't work (3.14.78 kernel, perhaps it 
some module loaded or built in???)

echo "filling /etc/host.conf"
cat >>/etc/host.conf <<EOFHOSTCONF
order hosts,bind
multi on
echo "filling /etc/hosts"
cat >>/etc/hosts <<EOFHOSTS     node01.cluster  node01     node02.cluster  node02

cat >>/etc/nsswitch.conf <<EOFSWITCH
passwd:     files nis sss
shadow:     files nis sss
group:      files nis sss
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files sss
netgroup:   files nis sss
publickey:  nisplus
automount:  files nis
aliases:    files nisplus

which used to be enough for

   ping node01


   ping node01.cluster

to work.  But it doesn't anymore.  Instead ping complains that it cannot 
resolve the name.  ping by IP number works.  ping is just a symbolic 
link to busybox.


David Mathog
mathog at
Manager, Sequence Analysis Facility, Biology Division, Caltech

More information about the busybox mailing list