<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">><i> Hi,
</i>><i> 
</i>><i> In my squid configuration file, I am adding a Fully Qualified Domain Name
</i>><i> instead of an IP address for my ICAP server but it is not able to resolve
</i>><i> that name initially
</i>
Please define "initially" - do you mean:</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> - when the squid server is booted up
 - when the squid service is started on an already-running server
 - something else?</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><pre style="white-space:pre-wrap">@Aashima - initially here means when I start squid service</pre>
><i> My concern is why there is so much delay in resolving fqdn of an ip.
</i>
What is your DNS setup?  </pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial,sans-serif">@Aashima - We got company DNS servers which we have added in our /etc/resolv.conf of that squid machine. </span></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><pre style="white-space:pre-wrap">Where is the Squid server pointing for its DNS 
resolver?  </pre><pre style="white-space:pre-wrap">@Aashima - I see in cache.log that its adding nameservers from /etc/resolv.conf</pre><pre style="white-space:pre-wrap"><span style="font-family:arial,sans-serif">Initializing IP Cache...</span></pre><pre style="white-space:pre-wrap"><span style="font-family:arial,sans-serif">2016/05/27 10:32:52 kid1| DNS Socket created at [::], FD 6</span></pre><pre style="white-space:pre-wrap"><span style="font-family:arial,sans-serif">2016/05/27 10:32:52 kid1| DNS Socket created at 0.0.0.0, FD 8</span></pre><pre style="white-space:pre-wrap"><span style="font-family:arial,sans-serif">2016/05/27 10:32:52 kid1| Adding nameserver 10.32.1.1 from /etc/resolv.conf</span></pre><pre style="white-space:pre-wrap"><p class=""><span class="">2016/05/27 10:32:52 kid1| Adding nameserver </span><span style="font-family:arial,sans-serif">10.32.1.1</span><span style="font-family:arial,sans-serif"> from /etc/resolv.conf</span></p><p class=""><span class="">2016/05/27 10:32:52 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf</span></p>
<span style="font-family:arial,sans-serif"><br></span></pre><pre style="white-space:pre-wrap">Is that DNS server running and answering queries before the Squid 
</pre><pre style="white-space:pre-wrap">server/service starts up?</pre><pre style="white-space:pre-wrap">@Aashima I do curl/ping/nslookup for icap server from squid machine, it is able to resolve that particular ip.</pre><pre style="white-space:pre-wrap"><br></pre><pre style="white-space:pre-wrap">Thanks</pre></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre></div>