[omniORB] FW: /etc/hosts on Linux

bjorn rohde jensen shamus@tdcadsl.dk
Sun Jun 16 12:17:00 2002


Hi Gregory,

 OmniORB uses ip addresses in its object references by default, which
really should not give you any problems, unless you want to use
persistent
references. It is true, that omniORB depends on a properly configured
transport layer such as tcp in order to function reliably, but i do not
think, the proper solution to dealing with misconfigured networks is to
add functionality to omniORB, it seems more reasonable to properly
configure
the transport layer.
 If the DHCP server is properly configured, you should not need to
modify
the /etc/hosts file manually. On getting a lease from the DHCP server
for
an ip address you should get an address with matching dns and rdns
entries,
if dns is used on your local net.
 Is your DHCP server in sync with the dns? Have you configured your
resolver
to look in /etc/hosts before querying a dns server? You probably should
only
have entries for the loopback interface in your hosts file.
 If you really want to mess with omniORBs hostname and interface
settings,
i guess, you could set the OMNIORB_USEHOSTNAME environment variable to
something funky like a string with the ip address of the interface, you
want
to use. It is not a good idea though;)

Yours sincerely,

Bjorn