more verbose log: 2011/07/02 19:30:38.133| comm_open: FD 12 is a new socket 2011/07/02 19:30:38.133| fd_open() FD 12 http://www.yahoo.com/ 2011/07/02 19:30:38.133| fwdConnectStart: got TCP FD 12 2011/07/02 19:30:38.133| comm_local_port: FD 12: port 0(family=10) 2011/07/02 19:30:38.133| comm_add_close_handler: FD 12, handler=1, data=0x9b5eef8 2011/07/02 19:30:38.133| The AsyncCall SomeCloseHandler constructed, this=0x9b5eca8 [call78] 2011/07/02 19:30:38.133| comm_add_close_handler: FD 12, AsyncCall=0x9b5eca8*1 2011/07/02 19:30:38.133| comm.cc(1196) commSetTimeout: FD 12 timeout 60 2011/07/02 19:30:38.133| The AsyncCall SomeTimeoutHandler constructed, this=0x9b5ee88 [call79] 2011/07/02 19:30:38.133| comm.cc(1207) commSetTimeout: FD 12 timeout 60 2011/07/02 19:30:38.133| commConnectStart: FD 12, data 0x9b5eef8, www.yahoo.com:80 2011/07/02 19:30:38.133| The AsyncCall SomeCommConnectHandler constructed, this=0x9b5f0f8 [call80] 2011/07/02 19:30:38.133| commConnectStart: FD 12, cb 0x9b5f0f8*1, www.yahoo.com:80 2011/07/02 19:30:38.133| comm_add_close_handler: FD 12, handler=1, data=0x9b5b1a0 2011/07/02 19:30:38.133| The AsyncCall SomeCloseHandler constructed, this=0x9b5f148 [call81] 2011/07/02 19:30:38.133| comm_add_close_handler: FD 12, AsyncCall=0x9b5f148*1 2011/07/02 19:30:38.133| ipcache_nbgethostbyname: Name 'www.yahoo.com'. 2011/07/02 19:30:38.133| ipcache_nbgethostbyname: MISS for 'www.yahoo.com' 2011/07/02 19:30:38.133| idnsALookup: buf is 31 bytes for www.yahoo.com, id = 0xbfe5 2011/07/02 19:30:38.133| comm_local_port: FD -1 has been closed. 2011/07/02 19:30:38.133| comm_udp_sendto: Attempt to send UDP packet to 8.8.8.8:53 using FD -1 using Port 0 2011/07/02 19:30:38.133| comm_udp_sendto: FD -1, (family=0) 8.8.8.8:53: (9) Bad file descriptor 2011/07/02 19:30:38.133| idnsSendQuery: FD -1: sendto: (9) Bad file descriptor 2011/07/02 19:30:38.133| comm_local_port: FD -1 has been closed. 2011/07/02 19:30:38.133| comm_udp_sendto: Attempt to send UDP packet to 8.8.4.4:53 using FD -1 using Port 0 2011/07/02 19:30:38.133| comm_udp_sendto: FD -1, (family=0) 8.8.4.4:53: (9) Bad file descriptor 2011/07/02 19:30:38.133| idnsSendQuery: FD -1: sendto: (9) Bad file descriptor 2011/07/02 19:30:38.133| comm_local_port: FD -1 has been closed. 2011/07/02 19:30:38.133| comm_udp_sendto: Attempt to send UDP packet to 192.168.10.2:53 using FD -1 using Port 0 2011/07/02 19:30:38.133| comm_udp_sendto: FD -1, (family=0) 192.168.10.2:53: (9) Bad file descriptor 2011/07/02 19:30:38.133| idnsSendQuery: FD -1: sendto: (9) Bad file descriptor On Sat, Jul 2, 2011 at 7:03 PM, Filip <junk.bbb@xxxxxxxxx> wrote: > Hi, > > Unable to make the squid work with the DNS, it keeps showing the error > "Unable to determine the IP adress of the host...", and here are the > cache.log message errors I get: > > 2011/07/02 18:16:02| Processing Configuration File: > /usr/local/squid/etc/squid.conf (depth 0) > 2011/07/02 18:16:02| Squid plugin modules loaded: 0 > 2011/07/02 18:16:02| Adaptation support is on > 2011/07/02 18:16:02| Store logging disabled > 2011/07/02 18:16:02| commBind: Cannot bind socket FD 12 to [::]: (99) > Cannot assign requested address > 2011/07/02 18:16:02| DNS Socket created at [::], FD 9 > 2011/07/02 18:16:02| Adding domain localdomain from /etc/resolv.conf > 2011/07/02 18:16:02| Adding nameserver 8.8.8.8 from /etc/resolv.conf > 2011/07/02 18:16:02| Adding nameserver 8.8.4.4 from /etc/resolv.conf > 2011/07/02 18:16:02| Adding nameserver 192.168.10.2 from /etc/resolv.conf > 2011/07/02 18:16:02| Accepting HTTP connections at [::]:3128, FD 14. > 2011/07/02 18:16:02| HTCP Disabled. > 2011/07/02 18:16:02| Loaded Icons. > 2011/07/02 18:16:02| Ready to serve requests. > 2011/07/02 18:16:07| Squid is already running! Process ID 4491 > 2011/07/02 18:16:14| comm_udp_sendto: FD -1, (family=0) 8.8.4.4:53: > (9) Bad file descriptor > 2011/07/02 18:16:14| idnsSendQuery: FD -1: sendto: (9) Bad file descriptor > 2011/07/02 18:16:14| comm_udp_sendto: FD -1, (family=0) > 192.168.10.2:53: (9) Bad file descriptor > 2011/07/02 18:16:14| idnsSendQuery: FD -1: sendto: (9) Bad file descriptor > 2011/07/02 18:16:22| comm_udp_sendto: FD -1, (family=0) 8.8.8.8:53: > (9) Bad file descriptor > 2011/07/02 18:16:22| idnsSendQuery: FD -1: sendto: (9) Bad file descriptor > > > Does anyone have an idea for what might be the problem? >