Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Robert Moskowitz
On 05/02/2014 12:26 AM, Garry T. Williams wrote: On 5-1-14 22:35:54 Robert Moskowitz wrote: On 05/01/2014 05:12 PM, Chris Adams wrote: To see all the matches, IPv6 and IPv4, you can use "ahosts" instead comannd not found. I will have to figure out what rpm provides it, as it was not part of

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Garry T. Williams
On 5-1-14 22:35:54 Robert Moskowitz wrote: > On 05/01/2014 05:12 PM, Chris Adams wrote: > > To see all the matches, IPv6 and IPv4, you can use "ahosts" > > instead > > comannd not found. I will have to figure out what rpm provides it, > as it was not part of the base f20 install. But thanks

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Robert Moskowitz
On 05/01/2014 05:12 PM, Chris Adams wrote: Once upon a time, Robert Moskowitz said: Kind of thought so. So is there an equiv command that follows system priorities for both dns and hosts file? getent hosts www.google.com That will follow the IPv6-before-IPv4 rules (so by default, if the hos

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Robert Moskowitz
On 05/01/2014 05:04 PM, Alchemist wrote: 2014-05-01 23:52 GMT+03:00 Robert Moskowitz >: F20 I put an IPv4 entry for a server in my /etc/hosts file. I can 'ping bob', but 'host bob' comes back with: Host bob not found: 3(NXDOMAIN) I have t

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Chris Adams
Once upon a time, Robert Moskowitz said: > Kind of thought so. So is there an equiv command that follows > system priorities for both dns and hosts file? getent hosts www.google.com That will follow the IPv6-before-IPv4 rules (so by default, if the host has an IPv6 entry, only that will be show

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Robert Moskowitz
On 05/01/2014 04:56 PM, Ed Greshko wrote: On 05/02/14 04:52, Robert Moskowitz wrote: F20 I put an IPv4 entry for a server in my /etc/hosts file. I can 'ping bob', but 'host bob' comes back with: Host bob not found: 3(NXDOMAIN) I have this vague memory from years back about a file that set

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Alchemist
2014-05-01 23:52 GMT+03:00 Robert Moskowitz : > F20 > > I put an IPv4 entry for a server in my /etc/hosts file. I can 'ping bob', > but 'host bob' comes back with: > > Host bob not found: 3(NXDOMAIN) > > I have this vague memory from years back about a file that set precedence > of hosts file and

Re: host command not seeming to use /etc/hosts file

2014-05-01 Thread Ed Greshko
On 05/02/14 04:52, Robert Moskowitz wrote: > F20 > > I put an IPv4 entry for a server in my /etc/hosts file. I can 'ping bob', > but 'host bob' comes back with: > > Host bob not found: 3(NXDOMAIN) > > I have this vague memory from years back about a file that set precedence of > hosts file and d

host command not seeming to use /etc/hosts file

2014-05-01 Thread Robert Moskowitz
F20 I put an IPv4 entry for a server in my /etc/hosts file. I can 'ping bob', but 'host bob' comes back with: Host bob not found: 3(NXDOMAIN) I have this vague memory from years back about a file that set precedence of hosts file and dns for fqdn lookup. Can't remember it of find it. Of