Mailing List Archive


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

Re: [tlug] Connecting 2 networks



> 
> On Sun, 30 Mar 2003 11:46:24 +0900
> "A. Sajjad Zaidi" <sajjad@example.com> wrote:
> 
> > The database server is probably doing reverse lookups whenever you try
> > to connect. Since it doesn't seem to be connected to any DNS servers, it
> > would take a while before the request timed out.
> >
> > Try adding entries for Web Server A and B to the database server's
> > /etc/hosts.
> 
> I tried to put hostname and IP in /etc/hosts. It works now :) Thank you
> very much.

As an additional note, if your database servers have no need to access
the internet or any internal dns, you would be good off to
comment out or remove the hosts dns entry in /etc/nsswitch.conf.
ie. from something like this 
   hosts: files dns
to this
   hosts: files #dns

This will remove the reverse lookups altogether for any services.

Best of luck

--
HS


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links