bind is unable to respond to queries

Mark Andrews Mark_Andrews at isc.org
Thu May 31 22:43:14 UTC 2007


> Has this not been fixed in earlier versions?

	http://www.isc.org/sw/bind/FAQ.php

> process `named' is using obsolete setsockopt SO_BSDCOMPAT
> process `rndc' is using obsolete setsockopt SO_BSDCOMPAT
> 
> 
> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On Behalf 
> Of Donny Jekels
> Sent: Thursday, May 31, 2007 11:26 AM
> To: bind-users at isc.org
> Cc: Alex Forkosh
> Subject: bind is unable to respond to queries
> 
> All,
>  
> 
> I am trying to deploy bind 9.4.1 and its running in a chrooted
> environment.
> 
>  
> 
> As per lsof the chrooted environment is setup correctly.
> 
>  
> 
> COMMAND  PID USER   FD   TYPE             DEVICE    SIZE    NODE NAME
> 
> named   5666  dns  cwd    DIR              253,1    4096 4490565
> /opt/apps/bind
> 
> named   5666  dns  rtd    DIR              253,1    4096 4490565
> /opt/apps/bind
> 
> named   5666  dns  txt    REG              253,1 6012802 4512940
> /opt/apps/bind/sbin/named
> 
> named   5666  dns  mem    REG              253,2 1717933  787308
> /usr/local/lib/libcrypto.so.0.9.8
> 
> named   5666  dns  mem    REG              253,3  217016  114692
> /var/db/nscd/passwd
> 
> named   5666  dns  mem    REG              253,3  217016  114693
> /var/db/nscd/group
> 
> named   5666  dns  mem    REG              253,0  105080  131296
> /lib64/ld-2.3.4.so
> 
> named   5666  dns  mem    REG              253,0 1493409  131297
> /lib64/tls/libc-2.3.4.so
> 
> named   5666  dns  mem    REG              253,0   17943  131299
> /lib64/libdl-2.3.4.so
> 
> named   5666  dns  mem    REG              253,0  107187  131171
> /lib64/libnsl-2.3.4.so
> 
> named   5666  dns    0u   CHR                1,3            1834
> /dev/null
> 
> named   5666  dns    1u   CHR                1,3            1834
> /dev/null
> 
> named   5666  dns    2u   CHR                1,3            1834
> /dev/null
> 
> named   5666  dns    3u  unix 0x000001011b3b1080           43052 socket
> 
> named   5666  dns    4u   CHR                1,3            1834
> /dev/null
> 
> named   5666  dns    5w   REG              253,1    1598 4512936
> /opt/apps/bind/var/logs/dnsaudit.log
> 
> named   5666  dns    6r   CHR                1,8         4490570
> /opt/apps/bind/dev/random
> 
> named   5666  dns   20u  IPv4              43067             UDP
> localhost.localdomain:domain
> 
> named   5666  dns   21u  IPv4              43068             TCP
> localhost.localdomain:domain (LISTEN)
> 
> named   5666  dns   22u  IPv4              43069             UDP *:32792
> 
> named   5666  dns   23u  IPv6              43070             UDP *:32793
> 
> named   5666  dns   24u  IPv4              43071             TCP
> localhost.localdomain:rndc (LISTEN)
> 
>  
> 
> However when I run an strace on the pid while doing a query, the server
> outputs this in the strace
> 
>  
> 
> recvmsg(20, {msg_name(16)={sa_family¯_INET, sin_port=htons(32794),
> sin_addr=inet_addr("127.0.0.1")},
> msg_iov(1)=[{"W\362\1\0\0\1\0\0\0\0\0\0\3www\6google\3com\0\0\1\0\1"...,
> 4096}], msg_controllen2, {cmsg_len2, cmsg_level=SOL_SOCKET,
> cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 32
> 
> recvmsg(20, 0x7fbfffeec0, 0)            = -1 EAGAIN (Resource
> temporarily unavailable)
> 
>  
> 
> I need to get bind to work by this afternoon, please assist.
> 
> Thank you,
> 
>  
> 
> 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
> 
>  
> 
> 
> 
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list