Link to home
Start Free TrialLog in
Avatar of Tarso
TarsoFlag for United States of America

asked on

AIX Server

How can I find the host table in a AIX server? I want to delete one host
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
https:#a39263710
Aix still defaults to nis, then dns, then local unless you change
And if you change or don't have a resolv.conf/ypbind (which is also the default) it's https:#a39261444
To avoid misunderstandings- what I wanted to say is that by default AIX neither ships a resolv.conf file (just a skeleton) nor does a NIS client get installed by default, so the /etc/hosts file will take effect, as mentioned in https:#a39261444, regardless of what's in the irs.conf/netsvc.conf files.
It will actually send DNS request to localhost in absence of resolv.conf...
Yes, and it will  (by default) neither find a running named nor a DNS data base there, so which source will be used for name resolution?
The question if DNS quick failure is usage is merely philosophical...

The real problem is stone age tools hidden in AIX. Nowadays normal resolvers have 2 or 5 or 15 sec timeout while on AIX one gets 45s unless in quickly fails against loopback.