[CentOS] Slow domain resolution problem

Wed Aug 25 12:27:54 UTC 2010
Gabriel Tabares <gabriel.tabares at roboreus.com>

On 23/08/2010 21:25, Keith Roberts wrote:
> On Mon, 23 Aug 2010, Gabriel Tabares wrote:
>
>    
>> To: centos at centos.org
>> From: Gabriel Tabares<gabriel.tabares at roboreus.com>
>> Subject: Re: [CentOS] Slow domain resolution problem
>>
>> On 23/08/2010 13:28, Joseph L. Casale wrote:
>>      
>>>> Both files are the default ones from CentOS:
>>>>
>>>>          
>>> So what do the host names look like that the application
>>> attempts to resolve, fully qualified or not? What does your
>>> cli based query look like?
>>>
>>>
>>>        
>> My resolv.conf is:
>>
>> search mydomain.com
>> nameserver 10.3.2.2
>>
>> The hostname of the machines is set to a FQDN server.mydomain.com.
>>
>> The time it takes for the queries does not change whether we use the
>> FQDN or just the hostname.
>>      
> Try this in your /etc/reolv.conf
>
> # Eclipse ISP
> nameserver 212.104.130.9
> nameserver 212.104.130.65
>
> # OpenDNS
> nameserver 208.67.222.222
> nameserver 208.67.220.220
>
>    
Keith, the issue happens resolving internal IP addresses. The servers do 
not have DNS access to the outside world, so using this would mean that 
nothing is resolved ;)