Operating System - HP-UX
1829541 Members
2592 Online
109992 Solutions
New Discussion

Host are not properly defined

 
SOLVED
Go to solution
Betty Hardin
Frequent Advisor

Host are not properly defined

I see entries in a hosts file defined like this:



(Others are like they are supposed to be.)

What might potentially break if I fix this ?

TIA!
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: Host are not properly defined

Betty,

Nothing will break. The domain and the alias are synonomous.


Pete


Pete
Betty Hardin
Frequent Advisor

Re: Host are not properly defined

That's what I thought. Thank you very much.
James R. Ferguson
Acclaimed Contributor

Re: Host are not properly defined

Hi Betty:

It doesn'nt matter. The 'gethostbyname()' function reads the '/etc/hosts' file (in this case) without regard to case from the beginning of the file until a host name (among either the official names or the aliases) matching its name parameter is found, or until EOF is encountered.

Regards!

...JRF...