<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Eliezer,</div><div class=""><br class=""></div><div class="">I haven’t had time to put together a current squid.conf and make it readable, remove sensitive stuff. But we don’t have any DNS-related directives set, it’s all just defaults for that stuff.</div><div class=""><br class=""></div><div class="">As for the other things you asked about:</div><div class=""><br class=""></div><div class=""><b class="">1. The current resolv.conf looks like this:</b></div><div class="">```</div><div class="">search tceo<br class=""><br class="">nameserver 192.231.203.3<br class="">nameserver 172.16.100.5<br class="">```</div><div class=""><br class=""></div><div class=""><b class="">2. Using `dns_v4_first on` and `dns_nameservers 192.231.203.3 172.16.100.5`, doesn’t make any difference.</b></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><b class="">3. Here’s a test to your site with a single IPv4 address:</b></div><div class=""><br class=""></div><div class=""># time squidclient -h 10.100.128.1 <a href="http://ngtech.co.il" class="">http://ngtech.co.il</a><br class=""><br class=""></div><div class="">HTTP/1.1 200 OK<br class="">Server: nginx/1.8.0<br class="">Date: Fri, 04 Mar 2016 01:51:34 GMT<br class="">Content-Type: text/html<br class="">Content-Length: 10167<br class="">Last-Modified: Tue, 09 Feb 2016 15:56:55 GMT<br class="">Accept-Ranges: bytes<br class="">Vary: Accept-Encoding<br class="">X-Cache: MISS from livestream.tceo<br class="">X-Cache-Lookup: MISS from livestream.tceo:3128<br class="">Via: 1.1 livestream.tceo (squid/3.5.13)<br class="">Connection: close<br class=""><br class=""><content remove for brevity><br class=""><br class="">real<span class="Apple-tab-span" style="white-space:pre">      </span>0m16.339s<br class="">user<span class="Apple-tab-span" style="white-space:pre">  </span>0m0.000s<br class="">sys<span class="Apple-tab-span" style="white-space:pre">    </span>0m0.002s<br class=""><br class=""></div><div class=""><b class="">4. Reverse DNS lookups for both DNS servers</b></div><div class=""><br class=""></div><div class=""># dig -x 192.231.203.3<br class=""><br class="">; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.6 <<>> -x 192.231.203.3<br class="">;; global options: +cmd<br class="">;; Got answer:<br class="">;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31360<br class="">;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 8<br class=""><br class="">;; QUESTION SECTION:<br class="">;3.203.231.192.in-addr.arpa.<span class="Apple-tab-span" style="white-space:pre">      </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>PTR<br class=""><br class="">;; ANSWER SECTION:<br class="">3.203.231.192.in-addr.arpa. 149<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>PTR<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://resolv2.internode.on.net" class="">resolv2.internode.on.net</a>.<br class=""><br class="">;; AUTHORITY SECTION:<br class="">203.231.192.in-addr.arpa. 149<span class="Apple-tab-span" style="white-space:pre">   </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns4.on.net" class="">ns4.on.net</a>.<br class="">203.231.192.in-addr.arpa. 149<span class="Apple-tab-span" style="white-space:pre">      </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns3.on.net" class="">ns3.on.net</a>.<br class="">203.231.192.in-addr.arpa. 149<span class="Apple-tab-span" style="white-space:pre">      </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns1.on.net" class="">ns1.on.net</a>.<br class="">203.231.192.in-addr.arpa. 149<span class="Apple-tab-span" style="white-space:pre">      </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns2.on.net" class="">ns2.on.net</a>.<br class=""><br class="">;; ADDITIONAL SECTION:<br class=""><a href="http://ns1.on.net" class="">ns1.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">               </span>13301<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>A<span class="Apple-tab-span" style="white-space:pre">   </span>203.16.213.172<br class=""><a href="http://ns1.on.net" class="">ns1.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">             </span>4681<span class="Apple-tab-span" style="white-space:pre">        </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>AAAA<span class="Apple-tab-span" style="white-space:pre">        </span>2001:44b8:f020:ff00::80<br class=""><a href="http://ns2.on.net" class="">ns2.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">            </span>13906<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>A<span class="Apple-tab-span" style="white-space:pre">   </span>192.231.203.2<br class=""><a href="http://ns2.on.net" class="">ns2.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">              </span>12151<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>AAAA<span class="Apple-tab-span" style="white-space:pre">        </span>2001:44b8:8020:ff00::80<br class=""><a href="http://ns3.on.net" class="">ns3.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">            </span>13407<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>A<span class="Apple-tab-span" style="white-space:pre">   </span>150.101.197.131<br class=""><a href="http://ns3.on.net" class="">ns3.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">            </span>4681<span class="Apple-tab-span" style="white-space:pre">        </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>AAAA<span class="Apple-tab-span" style="white-space:pre">        </span>2001:44b8:b070:ff00::80<br class=""><a href="http://ns4.on.net" class="">ns4.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">            </span>13374<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>A<span class="Apple-tab-span" style="white-space:pre">   </span>192.231.203.4<br class=""><a href="http://ns4.on.net" class="">ns4.on.net</a>.<span class="Apple-tab-span" style="white-space:pre">              </span>9533<span class="Apple-tab-span" style="white-space:pre">        </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>AAAA<span class="Apple-tab-span" style="white-space:pre">        </span>2001:44b8:8060:ff00::80<br class=""><br class="">;; Query time: 23 msec<br class="">;; SERVER: 192.231.203.3#53(192.231.203.3)<br class="">;; WHEN: Fri Mar  4 12:59:02 2016<br class="">;; MSG SIZE  rcvd: 330</div><div class=""><br class=""></div><div class=""># dig -x 172.16.100.5</div><div class=""><br class="">; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.6 <<>> -x 172.16.100.5<br class="">;; global options: +cmd<br class="">;; Got answer:<br class="">;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35335<br class="">;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0<br class=""><br class="">;; QUESTION SECTION:<br class="">;5.100.16.172.in-addr.arpa.<span class="Apple-tab-span" style="white-space:pre">    </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>PTR<br class=""><br class="">;; AUTHORITY SECTION:<br class="">16.172.in-addr.arpa.<span class="Apple-tab-span" style="white-space:pre"> </span>86400<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>SOA<span class="Apple-tab-span" style="white-space:pre"> </span>localhost. root.localhost. 1 604800 86400 2419200 86400<br class=""><br class="">;; Query time: 21 msec<br class="">;; SERVER: 192.231.203.3#53(192.231.203.3)<br class="">;; WHEN: Fri Mar  4 12:59:14 2016<br class="">;; MSG SIZE  rcvd: 93<br class=""><br class="">---</div><div class=""><br class=""></div><div class="">Was there there anything else I missed?</div><br class=""><blockquote type="cite" class="">On 4 Mar 2016, at 9:49 AM, Eliezer Croitoru <<a href="mailto:eliezer@ngtech.co.il" class="">eliezer@ngtech.co.il</a>> wrote:<br class=""><br class="">This is where you need to share your squid.conf..<br class="">Also what was the result of the query I mentioned?<br class=""><br class="">Another one to try is:<br class=""><a href="http://www.squid-cache.org/Doc/config/dns_v4_first/" class="">http://www.squid-cache.org/Doc/config/dns_v4_first/</a><br class=""><br class="">try adding to the end of squid.conf<br class="">dns_v4_first on<br class=""><br class="">All The Bests,<br class="">Eliezer<br class=""><br class="">On 04/03/2016 00:42, Dan Charlesworth wrote:<br class=""><blockquote type="cite" class="">Thanks for your input Eliezer.<br class=""><br class="">I've tested against various public DNS servers at this point so I'm<br class="">ruling out any DNS-server-side problems. The only time there's any<br class="">timeouts or slowness is when the request is going through squid. Doesn't<br class="">seem to matter which HTTP server I'm requesting, whether it returns<br class="">multiple IPs or not.<br class=""><br class="">Also worth noting that this company has about 30 other sites with mostly<br class="">identical network topologies and equipment where it's completely fine.<br class=""><br class=""></blockquote><br class="">_______________________________________________<br class="">squid-users mailing list<br class="">squid-users@lists.squid-cache.org<br class="">http://lists.squid-cache.org/listinfo/squid-users<br class=""></blockquote><br class=""></body></html>