Search squid archive

DNS lookup fails initially for FQDN in squid

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

 



> Hi,
> 
> In my squid configuration file, I am adding a Fully Qualified Domain Name
> instead of an IP address for my ICAP server but it is not able to resolve
> that name initially

Please define "initially" - do you mean:
 - when the squid server is booted up
 - when the squid service is started on an already-running server
 - something else?
@Aashima - initially here means when I start squid service
> My concern is why there is so much delay in resolving fqdn of an ip. What is your DNS setup?
@Aashima - We got company DNS servers which we have added in our /etc/resolv.conf of that squid machine. 
Where is the Squid server pointing for its DNS 
resolver?  
@Aashima - I see in cache.log that its adding nameservers from /etc/resolv.conf
Initializing IP Cache...
2016/05/27 10:32:52 kid1| DNS Socket created at [::], FD 6
2016/05/27 10:32:52 kid1| DNS Socket created at 0.0.0.0, FD 8
2016/05/27 10:32:52 kid1| Adding nameserver 10.32.1.1 from /etc/resolv.conf

2016/05/27 10:32:52 kid1| Adding nameserver 10.32.1.1 from /etc/resolv.conf

2016/05/27 10:32:52 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf


Is that DNS server running and answering queries before the Squid 
server/service starts up?
@Aashima I do curl/ping/nslookup for icap server from squid machine, it is able to resolve that particular ip.

Thanks

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux