Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

localhost entry in /etc/hosts

f. halili
Trusted Contributor

localhost entry in /etc/hosts

We have HPUX servers on 11.31.  Our localhost enty is in this format which I kinda use for years now.

 


127.0.0.1       localhost       loopback

 

There were recent changes on the DNS managed by another support group. Their recommendation is  for us to create an entry  something like:

 

127.0.0.1 localhost  localhost.ourcompany.org

 

What do you think?


Thanks!

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking.
-HP Forum Moderator

3 REPLIES
RJHall
Frequent Advisor

Re: localhost entry in /etc/hosts

I think I'd like to ask why they need a FQDN for a loopback address.

Bill Hassell
Honored Contributor

Re: localhost entry in /etc/hosts

It's just another alias to the IP address. The requisite names are already there so the extra one won't create any problems. Somebody probably Googled localhost and found an obscure document that suggests that an FQDN does something useful.



Bill Hassell, sysadmin
f. halili
Trusted Contributor

Re: localhost entry in /etc/hosts

Thanks for the comments!