named reloading
Tech W.
techwww at yahoo.com.cn
Mon May 18 08:44:45 UTC 2009
I tried to test it, steps as below:
(1) add a zone "x.test.com", and assign an A record into it:
ns.x.test.com. 60 IN A 192.168.1.246
(2) to reload bind every 1 second, using a shell script:
#!/bin/sh
while [ 1 ];do
/usr/local/bind/sbin/rndc reload
sleep 1
done
(3) to make DNS query to this named every 1/10 second, using a perl script:
use strict;
while(1) {
my @x = `dig ns.x.test.com \@localhost +short`;
my $x = shift @x;
chomp $x;
print "wrong: $x\n" if ($x ne '192.168.1.246');
select(undef, undef, undef, 0.1);
}
(4) run both shell and perl scripts, and watch the results output of perl script.
After tested for some time (ie, 10 minutes), I got nothing from perl script's output.
So I assume that when named is reloading, it doesn't affect user's query.
Am I right? thanks for any helps.
--- On Mon, 18/5/09, Tech W. <techwww at yahoo.com.cn> wrote:
> From: Tech W. <techwww at yahoo.com.cn>
> Subject: named reloading
> To: bind-users at lists.isc.org
> Received: Monday, 18 May, 2009, 4:16 PM
>
> Hello,
>
> Just asked this question again, b/c it's not easy to
> test...
> When named is reloading with 'rndc reload' command,
> client's query is coming in, what will be happened? Will
> client's request be dropped?
>
Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
More information about the bind-users
mailing list