On Wed, 18 Oct 2000, Mike A. Harris wrote:
> On Wed, 18 Oct 2000, Tony Nugent wrote:

<snip DNS is not resolver commentary>

> >Ok, this works very well for single-homed boxes - one IP, one
> >hostname, one entry.
> >
> >But NOT for multi-homed boxes (in this case, servers) which have
> >interfaces into two different subnets (and they are not acting as
> >routers).
> >
> >For example, a client box might have this in /etc/hosts:
> >
> >127.0.0.1    localhost.localdomain   localhost
> >172.16.1.1   gateway.mydom.com       gateway
> >172.16.2.4   www.mydom.com           www
> >172.16.1.4   www.mydom.com           www


Put 'multi on' in /etc/host.conf with Redhat 7.0, and the *updated*
glibc.  The stock 7.0 glibs segv's in the resolver if you have
multi on set with multiple reverse mappings.


> >Any suggestions?  I've never seen any proper docs (eg, in the
> >howtos) on this sort of /etc/hosts tweaking over the years, but this
> >is a problem that is starting to hit me in the face too much to
> >ignore any longer...

man host.conf with RH7 talks about the multi setting.

      multi  Valid values are on and off.  If  set  to  on,  the
              resolv+ library will return all valid addresses for
              a host that appears in the /etc/hosts file, instead
              of  only  the first.  This is off by default, as it
              may cause a substantial performance loss  at  sites
              with large hosts files.

Regards,

Mark

-- 
+-------------------------------------------------------------------------+
Mark Cooke                  The views expressed above are mine and are not
Systems Programmer          necessarily representative of university policy
University Of Birmingham    URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to