[NTLUG:Discuss] Slow to access local named virtual host URLs
terry
kj5zr at yahoo.com
Tue Apr 6 10:16:24 CDT 2004
Greg Edwards wrote:
> Neil Aggarwal wrote:
>
>> Hello:
>>
>> This is strange.
>>
>> On RedHat 9, this did not seem to be a problem but it seems to be a
>> problem on Fedora Core 1.
>>
>> I am finding that when I try to load a URL that goes to a virtual host
>> on the same server it takes a
>> LONG time (about 10 secs) to load. If I use a URL
>> that does not require resolving the named virtual host,
>> the URL loads very fast (milliseconds).
>
>
>>
>> Any ideas what is going on?
>>
>> Thanks,
>> Neil
>>
>
> Check your /etc/resolv.conf file for a "search" directive. My local
> machines resolve faster without the search directive.
>
From:
man resolv.conf
===============================================
search
Search list for host-name lookup. The search list is normally
determined from the local domain name; by default, it contains only the
local domain name. This may be changed by listing the desired domain
search path following the search keyword with spaces or tabs separating
the names. Most resolver queries will be attempted using each component
of the search path in turn until a match is found. Note that this
process may be slow and will generate a lot of network traffic if the
servers for the listed domains are not local, and that queries will time
out if no server is available for one of the domains.
The search list is currently limited to six domains with a total of
256 characters.
=============================================
--
Registered Linux User 188099
http://counter.li.org/
More information about the Discuss
mailing list