[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hostname bogosity



On Sun, Dec 14, 2003 at 08:23:35AM -0600, Michael D. Harnois wrote:
| On Sun, 2003-12-14 at 03:20, John Smith wrote:
| 
| > just to be sure, you say 'identical', they are not useing the
| > same hostname, I hope?
| 
| Well, no, they aren't. But the hosts files are identical; it's only the
| /etc/hostname file that needs to be different.

The hosts file need to be different, otherwise they'll both have the
same hostname as reported by gethostbyaddr().
gethostbyaddr(127.0.0.1) is used by a lot of software to determine the
real name of the local machine.

-D

-- 
The lot is cast into the lap,
but its every decision is from the Lord.
        Proverbs 16:33
 
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: pgp_ROsNxgg2g.pgp
Description: PGP signature


Reply to: