AIX name resolution /etc/hosts vs /etc/resolv.conf

Para indicar que utilice el /etc/hosts antes del /etc/resolv.conf

if [ ! f /etc/netsvc.conf ]
then
echo "hosts=local,bind" > /etc/netsvc.conf
else
echo "review the hosts definitions in the /etc/netsvc.conf"
echo "hosts=local,bind"
fi


Blogged with the Flock Browser

Comentarios