Search squid archive

solved - dns timeout , but working dns servers. Unable to determine IP address from host name

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

 



I was getting this error..
using windows port of squid

Seems it was not getting DNS servers properly.
had to set both of them dns_nameservers in squid.conf

then it worked.

the short story with answer is
I did ipconfig /all 
it shows 10.0.0.138 as DNS server, and 192.168.0.1 as
my "Gateway" i.e. router. But the same device, like
most NAT routers, it is a DNS server too.

As you can see, my NAT router is slifghtly weird like
that. Speedtouch 546. It seems to have 2 ip addresses.
I can http to  192.168.0.1 or 10.0.0.138 , and get to
the router interface.

DNS worked, I can browse, and wireshark showed that it
was working. It uses UDP not TCP. And it showed 
            source            dest
DNS query  192.168.0.2 --> 10.0.0.138
DNS response 192.168.0.1 --> 192.168.0.2

as you can see..  the query goes to one DNS ip, the
response comes from the other one. Maybe that is part
of teh reason for a problem.. In that it needed to
know Both DNS server ips.

I reckon squid was only getting 10.0.0.138 as DNS
server and that was not enough.

When I did   dns_nameservers 192.168.0.1 10.0.0.138
it worked.

I knew DNS servers were working because I could browse
- when not using the squid peoxy. Now I can browse
with since i fixed it up.


hope this reads ok, i am a little dizzy.
jameshanley39





      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/

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

  Powered by Linux