;; connection timed out; no servers could be reached

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Wed May 30 22:48:21 UTC 2007


What does the following return?  (Do this from the console of your Bind 
server.)

dig @localhost www.breakwater.com

If that doesn't work, Bind is not running, or not listening correctly.
If that does work, try "dig www.breakwater.com" - your server's 
/etc/resolv.conf file is properly mis-guided.

Andy.

Donny Jekels wrote:
> Does anyone know why this is happening?
>  
>
> Named is running and the configs are verbatim text book.
>
>  
>
>  
>
> # ps -ef | grep named
>
> dns       6958     1  0 17:33 ?        00:00:00
> /opt/apps/bind/sbin/named -u dns -t /opt/apps/bind -c /etc/named.conf
>
> root      6976  6070  0 17:34 pts/0    00:00:00 grep named
>
> [root at corlsp300 /opt/apps/bind]
>
> # strace -p 6958
>
> Process 6958 attached - interrupt to quit
>
> select(28, [20 21 22 23 26], [], NULL, {0, 868000}) = 0 (Timeout)
>
> select(28, [20 21 22 23 26], [], NULL, {0, 3378}) = 0 (Timeout)
>
> select(28, [20 21 22 23 26], [], NULL, {0, 2364}) = 0 (Timeout)
>
> select(28, [20 21 22 23 26], [], NULL, {29, 997000}) = 1 (in [20], left
> {27, 45000})
>
> recvmsg(20, {msg_name(16)={sa_family¯_INET, sin_port=htons(32803),
> sin_addr=inet_addr("127.0.0.1")},
> msg_iov(1)=[{"\372R\1\0\0\1\0\0\0\0\0\0\3www\nbreakwater\3com\0"...,
> 4096}], msg_controllen2, {cmsg_len2, cmsg_level=SOL_SOCKET,
> cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 36
>
> recvmsg(20, 0x7fbfffeeb0, 0)            = -1 EAGAIN (Resource
> temporarily unavailable)
>
> select(28, [20 21 22 23 26], [], NULL, {27, 45071}) = 1 (in [22], left
> {26, 45000})
>
> recvmsg(22, {msg_name(16)={sa_family¯_INET, sin_port=htons(32804),
> sin_addr=inet_addr("172.16.1.10")},
> msg_iov(1)=[{"\372R\1\0\0\1\0\0\0\0\0\0\3www\nbreakwater\3com\0"...,
> 4096}], msg_controllen2, {cmsg_len2, cmsg_level=SOL_SOCKET,
> cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 36
>
> recvmsg(22, 0x7fbfffeeb0, 0)            = -1 EAGAIN (Resource
> temporarily unavailable)
>
> select(28, [20 21 22 23 26], [], NULL, {26, 43117}) = 1 (in [20], left
> {20, 41000})
>
> recvmsg(20, {msg_name(16)={sa_family¯_INET, sin_port=htons(32803),
> sin_addr=inet_addr("127.0.0.1")},
> msg_iov(1)=[{"\372R\1\0\0\1\0\0\0\0\0\0\3www\nbreakwater\3com\0"...,
> 4096}], msg_controllen2, {cmsg_len2, cmsg_level=SOL_SOCKET,
> cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 36
>
> recvmsg(20, 0x7fbfffeeb0, 0)            = -1 EAGAIN (Resource
> temporarily unavailable)
>
> select(28, [20 21 22 23 26], [], NULL, {20, 40377}) = 1 (in [22], left
> {19, 39000})
>
> recvmsg(22, {msg_name(16)={sa_family¯_INET, sin_port=htons(32804),
> sin_addr=inet_addr("172.16.1.10")},
> msg_iov(1)=[{"\372R\1\0\0\1\0\0\0\0\0\0\3www\nbreakwater\3com\0"...,
> 4096}], msg_controllen2, {cmsg_len2, cmsg_level=SOL_SOCKET,
> cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 36
>
> recvmsg(22, 0x7fbfffeeb0, 0)            = -1 EAGAIN (Resource
> temporarily unavailable)
>
> select(28, [20 21 22 23 26], [], NULL, {19, 38430}) = 0 (Timeout)
>
> select(28, [20 21 22 23 26], [], NULL, {0, 1216}) = 0 (Timeout)
>
> select(28, [20 21 22 23 26], [], NULL, {0, 2246}) = 0 (Timeout)
>
>  
>
> [root at corlsp300 ~]
>
> # nslookup www.breakwater.com
>
> ;; connection timed out; no servers could be reached
>
>  
>
>  
>
>  
>
>  
>
>  
>
> Donny Jekels
> Breakwater Trading, LLC
> email djekels at breakwater.com <mailto:djekels at breakwater.com> 
> office (312) 601-8115
> mobile (312) 504-2936
> fax (312) 601-8010
>
>  
>
>
>
>
> !DSPAM:37,465df393343946936212678!
>
>
>   



More information about the bind-users mailing list