From: | Lowell(dot)Hought(at)faa(dot)gov |
---|---|
To: | Thomas Pundt <mlists(at)rp-online(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org |
Subject: | Re: DNS vs /etc/hosts |
Date: | 2005-08-05 14:21:49 |
Message-ID: | OF5562B954.9F386C69-ON86257054.004EB1DE-86257054.004ECAF2@faa.gov |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
How might I check for that? And if it is determined to be a problem, how
would I remove the guilty modules?
Thomas Pundt <mlists(at)rp-online(dot)de>
Sent by: pgsql-general-owner(at)postgresql(dot)org
08/05/2005 07:19 AM
To
pgsql-general(at)postgresql(dot)org
cc
Lowell Hought/AGL/FAA(at)FAA
Subject
Re: [GENERAL] DNS vs /etc/hosts
Hi,
On Thursday 04 August 2005 17:13, Lowell(dot)Hought(at)faa(dot)gov wrote:
| I am changing from 7.2 to 8.0 and have both installed now on various
Linux
| machines. When I use the psql command line interface with a -h
hostname,
| the connection time from 7.2 is instant while the connection time from
8.0
| is 15 seconds. My assumption is that 7.2 checks the /etc/hosts file
first
| and if unable to find the specified host it reverts to a DNS lookup, and
| the 8.0 is just the opposite. Is this a correct assumption, and if so,
| can I modify 8.0 to behave as 7.2 does?
I've once seen nameservice and connection delays caused by improperly
configured IPV6 support on some Linux machines. Removing the responsible
modules from the kernel fixed it. Just another guess though :-)
Ciao,
Thomas
--
Dr. Thomas Pundt <thomas(dot)pundt(at)rp-online(dot)de> ---- http://rp-online.de/
----
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
From | Date | Subject | |
---|---|---|---|
Next Message | Basith Salman | 2005-08-05 14:42:49 | Suppressing Error messages. |
Previous Message | Michael Fuhr | 2005-08-05 14:17:05 | Re: Why pgsql function is working on vers 8.0/windows and not on ver 7.3.2/rad hat? |