hosts detailed in hosts file not resolved

Joseph Mack NA3T jmack at wm7d.net
Wed May 17 16:52:31 BST 2006


On Wed, 17 May 2006, Graeme Fowler wrote:

> Hi
>
> On 17/05/2006 15:48, Rafael Vallejo wrote:
>> I have a problem with name resolution that I need in order to put working 
>> heartbeat, check the content of these files
> <snip>
>> [root at nas root]# host nas2
>> ;; connection timed out; no servers could be reached
>
> 'host' is part of the bind-utils package. As such it is used to carry out DNS 
> lookups.
>
> What do you get if you simply do 'ping nas2'?

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.services.general.html#name_resolution

It would be nice if the application asked a resolver for 
name resolution and the resolver looked for /etc/hosts, or 
to see if a name server was running etc. It turns out there 
is no such facility as a resolver. Each application has to 
use its own method of name resolution. It can lookup 
/etc/resolv.conf /etc/nsswitch.conf or it may not. If it 
looks at these files, it doesn't have to take any notice of 
the contents.

Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml 
Homepage http://www.austintek.com/ It's GNU/Linux!

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list