Hello Harald, > No ! > > In glibc gethostbyname (getaddrinfo is a different entry to same > functionality) uses the nsswitch and usually checks the local > addresses first (if not configured differently). Only the host command > from bind ignores local addresses. > > $ host NAME > --> only query DNS for NAME > > $ getent hosts NAME > --> check /etc/hosts then queries DNS (if nsswitch not configured > differently) >
in that case I think that keeping it the host format is the right thing to do. Eial. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
