On Maw, 2005-11-01 at 17:34 +0800, John Summerfied wrote:
> > We had a similar issue with Oracle on AIX, it was only a problem with a
> > multi-homed guest.  In that circumstance oracle defaulted to looking at
> > the hosts file to know what interface / name itself was.
> Is there a problem with uname(2)?

Nothing says uname and DNS names are matching or that uname is a full
name.

Even a single homed host may have multiple names and one of the fun
things with tcp/ip and the like is working out what to use when you send
your address to someone else over a connection. NAT makes it even worse
but thankfully NAT has killed most protocols that do this at all 8)

Convention (and RFC suggestions) say:
        take the lowest non loopback address
        do a reverse lookup on it

In practice that goes wrong with private networks (10.* is generally
lowest).

An interface doesn't have a name any more than a host does, it may
likewise have several.

Alan

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to