On Thursday, 4 November 2004 17.20, Carl Hartung wrote:
On Thu, 2004-11-04 at 10:35, Anders Johansson wrote: <snip>
Now try again, and add the line
search com
in /etc/resolv.conf
(removing any other search line you may have there of course)
Hi Anders! What an honor! <Big Grin>
heh
I should know better. Trying to respond to posts when I'm multi-tasking and have a lot of distractions here in the background seems to always turn into a "two steps forward, one step back" proposition... and my five year old isn't even home from school, yet!
So, I appreciate your response. My resolv.conf is the temporary one created by dhcpcd, so I'd have to dig elsewhere to modify it. Is the principal benefit that one need not prepend "www" or append "com" to discern a host's IP address?
You asked a question, I answered it. You were wondering why you couldn't just "ping google", and the procedure above attempted to show that when you use a simple hostname, the resolver will try to append the domain in the "search" directive in resolv.conf. If you put "search google.com" in resolv.conf you could do "ping www" and it would ping www.google.com for you