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

Re: DNS



Hello Brian,
Sorry for takong to long to respond to this one.
I am running bind 8.2.2-P5 this the output from strace at the exact point
when bind died.
 fcntl(5, F_GETFL)                       = 0x802
(flags O_RDWR|O_NONBLOCK)
fcntl(5, F_SETFL, O_RDWR)               = 0
gettimeofday({961674517, 874007}, NULL) = 0
gettimeofday({961674517, 874067}, NULL) = 0
setsockopt(5, SOL_SOCKET, SO_LINGER, [1], 8) = 0
fcntl(5, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
gettimeofday({961674517, 874551}, NULL) = 0
select(26, [4 20 21 22 23 24 25], [5], [], {1902, 125449}) = 1 (out [5],
left {1902, 130000})
gettimeofday({961674517, 874738}, NULL) = 0
write(5, "\1\277G\272\200\0\0\1\0\0\0\r\0\r"..., 449) = 449
fcntl(5, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(5, F_SETFL, O_RDWR)               = 0
fcntl(5, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
gettimeofday({961674517, 875264}, NULL) = 0
select(26, [4 5 20 21 22 23 24 25], [], [], {1902, 124736}) = 1 (in [5],
left {1899, 400000})
gettimeofday({961674520, 598560}, NULL) = 0
readv(5, [{"\0\34", 2}], 1)             = 0
fcntl(5, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(5, F_SETFL, O_RDWR)               = 0
gettimeofday({961674520, 598848}, NULL) = 0
close(5

On Wed, 21 Jun 2000, Brian Candler wrote:

> Date: Wed, 21 Jun 2000 20:49:21 +0100
> From: Brian Candler <B.Candler at pobox.com>
> To: ksemat at eahd.or.ug
> Cc: afnog at afnog.org
> Subject: Re: DNS
> 
> On Wed, Jun 21, 2000 at 09:31:19PM +0300, ksemat at eahd.or.ug wrote:
> > Recursion has been on until this morning when I turned it off this was
> > because most of the zones for whom I am primary are using my IP
> > so I was told that the name server may be timing out because it can not
> > reverse resolve those IPs. So it keeps timing out on queries concerning
> > them and thus the rest suffers too. So I turned off recursive queries.
> > Interestingly this action seemed to make it live slightly longer though it
> > still dies but after some time of timing out I sometimes query it and it
> > responds.
> 
> Then you still need to find out why it is dying.
> 
> Suggestion: after restarting bind, find out its process id then in a
> separate window run:
> 
> # strace -p <pid>
> 
> This will show you all the syscalls it makes. When it dies, capture the last
> screenful of output and post it here.
> 
> What _exact_ version of BIND are you running?
> 
> Brian.
> 
> -----
> This is the afnog mailing list, managed by Majordomo 1.94.4
> 
> To send a message to this list, e-mail afnog at afnog.org
> To send a requet to majordomo, e-mail majordomo at afnog.org and put
> your request in the body of the message (i.e use "help" for help)
> 
> This list is mantained by owner-afnog at afnog.org
> 

Sematimba Noah
Network Administrator
Uganda Online
-------------------------------------------------------------------------------
ksemat at eahd.or.ug P.O.Box 1254 Kampala 



-----
This is the afnog mailing list, managed by Majordomo 1.94.4

To send a message to this list, e-mail afnog at afnog.org
To send a requet to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is mantained by owner-afnog at afnog.org