Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On Thu, Nov 29, 2007 at 04:32:54PM -0500, Bob - BLU wrote: > So I have the small bit of confusion. When I use host (or dig), they don't > get info from the /etc/hosts file first, they instead go directly to the > lan name server. I suspect this has something to do with dhclient, but I'm > not sure. How can I get DNS lookups to first try /etc/hosts - what bit am > I missing? host(1) and friends bypass normal gethostbyname() functionality and unconditionally do DNS lookups. Use the getent(1) utility instead. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Discuss mailing list [hidden email] http://lists.blu.org/mailman/listinfo/discuss
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |