Compare commits
103 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36cf7cff6d | ||
|
|
42d1f669cc | ||
|
|
3d4cb51756 | ||
|
|
338c1060eb | ||
|
|
cd34c0b8c7 | ||
|
|
ee5bc0fa2b | ||
|
|
960abe12bf | ||
|
|
ea7a62cdab | ||
|
|
d72ed5a8e7 | ||
|
|
59b757ea1f | ||
|
|
9ab62f8666 | ||
|
|
0571823964 | ||
|
|
44bb0c393a | ||
|
|
03586f6168 | ||
|
|
86f561843b | ||
|
|
1d1fdf48eb | ||
|
|
fdfc052b16 | ||
|
|
6980e5df7f | ||
|
|
fc0f25d9b0 | ||
|
|
1acf745243 | ||
|
|
9e281bdde5 | ||
|
|
8ac9d12380 | ||
|
|
63ed4de0ad | ||
|
|
dcc7c7f280 | ||
|
|
29141b73e5 | ||
|
|
271512b875 | ||
|
|
5c53258986 | ||
|
|
7afa3a5a14 | ||
|
|
04282909ec | ||
|
|
a1b98b70f9 | ||
|
|
8662921e61 | ||
|
|
85bc1f1fd8 | ||
|
|
8484895e33 | ||
|
|
ff416d2c83 | ||
|
|
6eda13d228 | ||
|
|
a71dd25168 | ||
|
|
b863b5cf8a | ||
|
|
1991480d9b | ||
|
|
3a8369b4ea | ||
|
|
7808571e81 | ||
|
|
be0ffcb513 | ||
|
|
a1f78f4ba2 | ||
|
|
4566c8ed9a | ||
|
|
d5cdbc141a | ||
|
|
868259fcac | ||
|
|
7164fad5a6 | ||
|
|
834e9a4ba9 | ||
|
|
cb1679a12d | ||
|
|
1000049f5a | ||
|
|
c388b611d4 | ||
|
|
acd48b4857 | ||
|
|
66a8fa7dc2 | ||
|
|
1dfc667d91 | ||
|
|
f9ef8c313d | ||
|
|
17e8be7d61 | ||
|
|
0ff738279f | ||
|
|
13e9b2230d | ||
|
|
9a9f968dab | ||
|
|
25240dd390 | ||
|
|
52007e22c5 | ||
|
|
3a926c01e1 | ||
|
|
931a50f631 | ||
|
|
00d8872b05 | ||
|
|
77feec5ca7 | ||
|
|
7a7ac426fc | ||
|
|
b970bf11d8 | ||
|
|
2d34d15048 | ||
|
|
fe6fca3d69 | ||
|
|
1081c10c5e | ||
|
|
8ac30db15f | ||
|
|
8a3a842f41 | ||
|
|
0665d1de8a | ||
|
|
b5853fb6e3 | ||
|
|
32adae39f3 | ||
|
|
5bd5d94e8a | ||
|
|
e789d7351e | ||
|
|
b2402cef4d | ||
|
|
a318497823 | ||
|
|
bcef2f4fb5 | ||
|
|
b026aa3c8f | ||
|
|
926e4ed50f | ||
|
|
22702beab5 | ||
|
|
26cb554579 | ||
|
|
78994030ab | ||
|
|
46b89fbb62 | ||
|
|
49538e5978 | ||
|
|
25c597945a | ||
|
|
e474ecbe1f | ||
|
|
7064aed978 | ||
|
|
f9b62501e8 | ||
|
|
5b144fac25 | ||
|
|
8700f5e1b4 | ||
|
|
8478216b5a | ||
|
|
73726b08bf | ||
|
|
212d67894e | ||
|
|
a6a28314eb | ||
|
|
14ab630b23 | ||
|
|
978e394c54 | ||
|
|
901cf705f5 | ||
|
|
0ddaec4692 | ||
|
|
5c8d35f8f0 | ||
|
|
f950cb6a0b | ||
|
|
424d89d806 |
7
CHANGES
7
CHANGES
@@ -1,4 +1,9 @@
|
||||
--- 9.9.0 released ---
|
||||
--- 9.9.0rc2 released ---
|
||||
|
||||
3270. [bug] "rndc reload" didn't reuse existing zones correctly
|
||||
when inline-signing was in use. [RT #27650]
|
||||
|
||||
3269. [port] darwin 11 and later now built threaded by default.
|
||||
|
||||
3268. [bug] Convert RRSIG expiry times to 64 timestamps to work
|
||||
out the earliest expiry time. [RT #23311]
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.638 2012/01/25 02:46:53 marka Exp $ */
|
||||
/* $Id: server.c,v 1.638.4.1 2012/01/31 01:11:54 each Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -3406,6 +3406,7 @@ configure_zone(const cfg_obj_t *config, const cfg_obj_t *zconfig,
|
||||
result = dns_view_findzone(pview, origin, &zone);
|
||||
if (result != ISC_R_NOTFOUND && result != ISC_R_SUCCESS)
|
||||
goto cleanup;
|
||||
|
||||
if (zone != NULL && !ns_zone_reusable(zone, zconfig))
|
||||
dns_zone_detach(&zone);
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zoneconf.c,v 1.186 2011/12/20 00:06:54 marka Exp $ */
|
||||
/* $Id: zoneconf.c,v 1.186.22.1 2012/01/31 01:11:54 each Exp $ */
|
||||
|
||||
/*% */
|
||||
|
||||
@@ -1600,18 +1600,50 @@ ns_zone_reusable(dns_zone_t *zone, const cfg_obj_t *zconfig) {
|
||||
const char *zfilename;
|
||||
dns_zone_t *raw = NULL;
|
||||
isc_boolean_t has_raw;
|
||||
dns_zonetype_t ztype;
|
||||
|
||||
zoptions = cfg_tuple_get(zconfig, "options");
|
||||
|
||||
if (zonetype_fromconfig(zoptions) != dns_zone_gettype(zone))
|
||||
return (ISC_FALSE);
|
||||
|
||||
/*
|
||||
* We always reconfigure a static-stub zone for simplicity, assuming
|
||||
* the amount of data to be loaded is small.
|
||||
*/
|
||||
if (zonetype_fromconfig(zoptions) == dns_zone_staticstub)
|
||||
if (zonetype_fromconfig(zoptions) == dns_zone_staticstub) {
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1),
|
||||
"not reusable: staticstub");
|
||||
return (ISC_FALSE);
|
||||
}
|
||||
|
||||
/* If there's a raw zone, use that for filename and type comparison */
|
||||
dns_zone_getraw(zone, &raw);
|
||||
if (raw != NULL) {
|
||||
zfilename = dns_zone_getfile(raw);
|
||||
ztype = dns_zone_gettype(raw);
|
||||
dns_zone_detach(&raw);
|
||||
has_raw = ISC_TRUE;
|
||||
} else {
|
||||
zfilename = dns_zone_getfile(zone);
|
||||
ztype = dns_zone_gettype(zone);
|
||||
has_raw = ISC_FALSE;
|
||||
}
|
||||
|
||||
obj = NULL;
|
||||
(void)cfg_map_get(zoptions, "inline-signing", &obj);
|
||||
if ((obj == NULL || !cfg_obj_asboolean(obj)) && has_raw) {
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1),
|
||||
"not reusable: old zone was inline-signing");
|
||||
return (ISC_FALSE);
|
||||
} else if ((obj != NULL && cfg_obj_asboolean(obj)) && !has_raw) {
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1),
|
||||
"not reusable: old zone was not inline-signing");
|
||||
return (ISC_FALSE);
|
||||
}
|
||||
|
||||
if (zonetype_fromconfig(zoptions) != ztype) {
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1),
|
||||
"not reusable: type mismatch");
|
||||
return (ISC_FALSE);
|
||||
}
|
||||
|
||||
obj = NULL;
|
||||
(void)cfg_map_get(zoptions, "file", &obj);
|
||||
@@ -1619,25 +1651,14 @@ ns_zone_reusable(dns_zone_t *zone, const cfg_obj_t *zconfig) {
|
||||
cfilename = cfg_obj_asstring(obj);
|
||||
else
|
||||
cfilename = NULL;
|
||||
zfilename = dns_zone_getfile(zone);
|
||||
if (!((cfilename == NULL && zfilename == NULL) ||
|
||||
(cfilename != NULL && zfilename != NULL &&
|
||||
strcmp(cfilename, zfilename) == 0)))
|
||||
{
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1),
|
||||
"not reusable: filename mismatch");
|
||||
return (ISC_FALSE);
|
||||
|
||||
dns_zone_getraw(zone, &raw);
|
||||
if (raw != NULL) {
|
||||
dns_zone_detach(&raw);
|
||||
has_raw = ISC_TRUE;
|
||||
} else
|
||||
has_raw = ISC_FALSE;
|
||||
|
||||
obj = NULL;
|
||||
(void)cfg_map_get(zoptions, "inline-signing", &obj);
|
||||
if ((obj == NULL || !cfg_obj_asboolean(obj)) && has_raw)
|
||||
return (ISC_FALSE);
|
||||
if ((obj != NULL && cfg_obj_asboolean(obj)) && !has_raw)
|
||||
return (ISC_FALSE);
|
||||
}
|
||||
|
||||
return (ISC_TRUE);
|
||||
}
|
||||
|
||||
136
bin/tests/system/inline/ns3/master3.db.in
Normal file
136
bin/tests/system/inline/ns3/master3.db.in
Normal file
@@ -0,0 +1,136 @@
|
||||
; Copyright (C) 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
;
|
||||
; Permission to use, copy, modify, and/or distribute this software for any
|
||||
; purpose with or without fee is hereby granted, provided that the above
|
||||
; copyright notice and this permission notice appear in all copies.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
; PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: master3.db.in,v 1.1.4.2 2012/01/31 01:12:29 each Exp $
|
||||
|
||||
$TTL 300 ; 5 minutes
|
||||
@ IN SOA ns3 . (
|
||||
2000042409 ; serial
|
||||
20 ; refresh (20 seconds)
|
||||
20 ; retry (20 seconds)
|
||||
1814400 ; expire (3 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
NS ns3
|
||||
ns2 A 10.53.0.2
|
||||
ns3 A 10.53.0.3
|
||||
|
||||
a A 10.0.0.1
|
||||
b A 10.0.0.2
|
||||
c A 10.0.0.3
|
||||
d A 10.0.0.4
|
||||
e A 10.0.0.5
|
||||
|
||||
; Used for testing ANY queries
|
||||
foo TXT "testing"
|
||||
foo A 10.0.1.0
|
||||
|
||||
bad-cname CNAME a
|
||||
bad-dname DNAME @
|
||||
|
||||
; Used for testing CNAME queries
|
||||
cname1 CNAME cname1-target
|
||||
cname1-target TXT "testing cname"
|
||||
|
||||
cname2 CNAME cname2-target
|
||||
cname2-target TXT "testing cname"
|
||||
|
||||
; Used for testing DNAME queries
|
||||
dname1 DNAME dname1-target
|
||||
foo.dname1-target TXT "testing dname"
|
||||
|
||||
dname2 DNAME dname2-target
|
||||
foo.dname2-target TXT "testing dname"
|
||||
|
||||
; A secure subdomain
|
||||
secure NS ns.secure
|
||||
ns.secure A 10.53.0.3
|
||||
|
||||
; An insecure subdomain
|
||||
insecure NS ns.insecure
|
||||
ns.insecure A 10.53.0.3
|
||||
|
||||
; A secure subdomain we're going to inject bogus data into
|
||||
bogus NS ns.bogus
|
||||
ns.bogus A 10.53.0.3
|
||||
|
||||
; A dynamic secure subdomain
|
||||
dynamic NS dynamic
|
||||
dynamic A 10.53.0.3
|
||||
|
||||
; A insecure subdomain
|
||||
mustbesecure NS ns.mustbesecure
|
||||
ns.mustbesecure A 10.53.0.3
|
||||
|
||||
; A rfc2535 signed zone w/ CNAME
|
||||
rfc2535 NS ns.rfc2535
|
||||
ns.rfc2535 A 10.53.0.3
|
||||
|
||||
z A 10.0.0.26
|
||||
|
||||
keyless NS ns.keyless
|
||||
ns.keyless A 10.53.0.3
|
||||
|
||||
nsec3 NS ns.nsec3
|
||||
ns.nsec3 A 10.53.0.3
|
||||
|
||||
optout NS ns.optout
|
||||
ns.optout A 10.53.0.3
|
||||
|
||||
nsec3-unknown NS ns.nsec3-unknown
|
||||
ns.nsec3-unknown A 10.53.0.3
|
||||
|
||||
optout-unknown NS ns.optout-unknown
|
||||
ns.optout-unknown A 10.53.0.3
|
||||
|
||||
multiple NS ns.multiple
|
||||
ns.multiple A 10.53.0.3
|
||||
|
||||
*.wild A 10.0.0.27
|
||||
|
||||
rsasha256 NS ns.rsasha256
|
||||
ns.rsasha256 A 10.53.0.3
|
||||
|
||||
rsasha512 NS ns.rsasha512
|
||||
ns.rsasha512 A 10.53.0.3
|
||||
|
||||
kskonly NS ns.kskonly
|
||||
ns.kskonly A 10.53.0.3
|
||||
|
||||
update-nsec3 NS ns.update-nsec3
|
||||
ns.update-nsec3 A 10.53.0.3
|
||||
|
||||
auto-nsec NS ns.auto-nsec
|
||||
ns.auto-nsec A 10.53.0.3
|
||||
|
||||
auto-nsec3 NS ns.auto-nsec3
|
||||
ns.auto-nsec3 A 10.53.0.3
|
||||
|
||||
|
||||
below-cname CNAME some.where.else.
|
||||
|
||||
insecure.below-cname NS ns.insecure.below-cname
|
||||
ns.insecure.below-cname A 10.53.0.3
|
||||
|
||||
secure.below-cname NS ns.secure.below-cname
|
||||
ns.secure.below-cname A 10.53.0.3
|
||||
|
||||
ttlpatch NS ns.ttlpatch
|
||||
ns.ttlpatch A 10.53.0.3
|
||||
|
||||
split-dnssec NS ns.split-dnssec
|
||||
ns.split-dnssec A 10.53.0.3
|
||||
|
||||
split-smart NS ns.split-smart
|
||||
ns.split-smart A 10.53.0.3
|
||||
@@ -14,7 +14,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.16 2012/01/17 08:26:03 marka Exp $
|
||||
# $Id: tests.sh,v 1.16.12.1 2012/01/31 01:11:54 each Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
@@ -319,10 +319,8 @@ status=`expr $status + $ret`
|
||||
n=`expr $n + 1`
|
||||
echo "I:check adding of record to unsigned master ($n)"
|
||||
ret=0
|
||||
sleep 1
|
||||
cp ns3/master2.db.in ns3/master.db
|
||||
$RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 reload master || ret=1
|
||||
|
||||
for i in 1 2 3 4 5 6 7 8 9
|
||||
do
|
||||
ans=0
|
||||
@@ -333,7 +331,35 @@ do
|
||||
sleep 1
|
||||
done
|
||||
[ $ans = 0 ] || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo "I:check adding record fails when SOA serial not changed ($n)"
|
||||
ret=0
|
||||
echo "c A 10.0.0.3" >> ns3/master.db
|
||||
$RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 reload || ret=1
|
||||
sleep 1
|
||||
$DIG $DIGOPTS @10.53.0.3 -p 5300 c.master A > dig.out.ns3.test$n
|
||||
grep "NXDOMAIN" dig.out.ns3.test$n > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo "I:check adding record works after updating SOA serial ($n)"
|
||||
ret=0
|
||||
cp ns3/master3.db.in ns3/master.db
|
||||
$RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 reload master || ret=1
|
||||
for i in 1 2 3 4 5 6 7 8 9
|
||||
do
|
||||
ans=0
|
||||
$DIG $DIGOPTS @10.53.0.3 -p 5300 c.master A > dig.out.ns3.test$n
|
||||
grep "10.0.0.3" dig.out.ns3.test$n > /dev/null || ans=1
|
||||
grep "ANSWER: 2," dig.out.ns3.test$n > /dev/null || ans=1
|
||||
[ $ans = 1 ] || break
|
||||
sleep 1
|
||||
done
|
||||
[ $ans = 0 ] || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
@@ -647,6 +673,15 @@ done
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo "I:check rndc reload allows reuse of inline-signing zones ($n)"
|
||||
ret=0
|
||||
{ $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 reload 2>&1 || ret=1 ; } |
|
||||
sed 's/^/I:ns3 /'
|
||||
grep "not reusable" ns3/named.run > /dev/null 2>&1 && ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo "I:check rndc sync removes both signed and unsigned journals ($n)"
|
||||
ret=0
|
||||
|
||||
27
bin/tests/system/masterformat/ns1/large.db.in
Normal file
27
bin/tests/system/masterformat/ns1/large.db.in
Normal file
@@ -0,0 +1,27 @@
|
||||
; Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
;
|
||||
; Permission to use, copy, modify, and/or distribute this software for any
|
||||
; purpose with or without fee is hereby granted, provided that the above
|
||||
; copyright notice and this permission notice appear in all copies.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
; PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: large.db.in,v 1.2.2.3 2012/02/14 23:46:49 tbox Exp $
|
||||
|
||||
$TTL 1D
|
||||
|
||||
@ IN SOA ns hostmaster (
|
||||
1
|
||||
3600
|
||||
1800
|
||||
1814400
|
||||
3
|
||||
)
|
||||
NS ns
|
||||
ns A 10.53.0.1
|
||||
29
bin/tests/system/resolver/ns4/tld1.db
Normal file
29
bin/tests/system/resolver/ns4/tld1.db
Normal file
@@ -0,0 +1,29 @@
|
||||
; Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
;
|
||||
; Permission to use, copy, modify, and/or distribute this software for any
|
||||
; purpose with or without fee is hereby granted, provided that the above
|
||||
; copyright notice and this permission notice appear in all copies.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
; PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: tld1.db,v 1.2.2.3 2012/02/09 23:46:50 tbox Exp $
|
||||
|
||||
$TTL 300
|
||||
@ IN SOA marka.isc.org. ns.server. (
|
||||
2010 ; serial
|
||||
600 ; refresh
|
||||
600 ; retry
|
||||
1200 ; expire
|
||||
600 ; minimum
|
||||
)
|
||||
@ NS ns.tld.
|
||||
ns A 10.53.0.4
|
||||
$TTL 5
|
||||
to-be-removed NS ns.to-be-removed
|
||||
ns.to-be-removed A 10.53.0.6
|
||||
26
bin/tests/system/resolver/ns4/tld2.db
Normal file
26
bin/tests/system/resolver/ns4/tld2.db
Normal file
@@ -0,0 +1,26 @@
|
||||
; Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
;
|
||||
; Permission to use, copy, modify, and/or distribute this software for any
|
||||
; purpose with or without fee is hereby granted, provided that the above
|
||||
; copyright notice and this permission notice appear in all copies.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
; PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: tld2.db,v 1.2.2.3 2012/02/09 23:46:50 tbox Exp $
|
||||
|
||||
$TTL 300
|
||||
@ IN SOA marka.isc.org. ns.server. (
|
||||
2010 ; serial
|
||||
600 ; refresh
|
||||
600 ; retry
|
||||
1200 ; expire
|
||||
600 ; minimum
|
||||
)
|
||||
@ NS ns.tld.
|
||||
ns A 10.53.0.4
|
||||
33
bin/tests/system/resolver/ns6/to-be-removed.tld.db.in
Normal file
33
bin/tests/system/resolver/ns6/to-be-removed.tld.db.in
Normal file
@@ -0,0 +1,33 @@
|
||||
; Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
;
|
||||
; Permission to use, copy, modify, and/or distribute this software for any
|
||||
; purpose with or without fee is hereby granted, provided that the above
|
||||
; copyright notice and this permission notice appear in all copies.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
; PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: to-be-removed.tld.db.in,v 1.2.2.3 2012/02/09 23:46:51 tbox Exp $
|
||||
|
||||
$TTL 600
|
||||
@ IN SOA ns hostmaster 1 1800 900 604800 600
|
||||
@ IN NS ns
|
||||
ns IN A 10.53.0.6
|
||||
ns0 IN A 10.53.0.6
|
||||
ns1 IN A 10.53.0.6
|
||||
ns2 IN A 10.53.0.6
|
||||
ns3 IN A 10.53.0.6
|
||||
ns4 IN A 10.53.0.6
|
||||
ns5 IN A 10.53.0.6
|
||||
ns6 IN A 10.53.0.6
|
||||
ns7 IN A 10.53.0.6
|
||||
ns8 IN A 10.53.0.6
|
||||
ns9 IN A 10.53.0.6
|
||||
$TTL 1
|
||||
@ IN A 10.53.0.6
|
||||
www IN A 10.53.0.6
|
||||
@@ -16,7 +16,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: config.h.in,v 1.153 2012/01/30 07:11:47 marka Exp $ */
|
||||
/* $Id: config.h.in,v 1.152.22.1 2012/01/30 10:09:37 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
||||
@@ -60,7 +60,9 @@ case $host in
|
||||
# Linux kernels produce unusable core dumps from multithreaded
|
||||
# programs, and because of limitations in setuid().
|
||||
use_threads=false ;;
|
||||
*-darwin10.*)
|
||||
*-darwin[[123456789]].*)
|
||||
use_threads=false ;;
|
||||
*-darwin*.*)
|
||||
use_threads=true ;;
|
||||
*)
|
||||
use_threads=false ;;
|
||||
|
||||
8
configure
vendored
8
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 1996-2003 Internet Software Consortium.
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
@@ -14,7 +14,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
# $Id: configure,v 1.517 2011/12/20 00:49:49 marka Exp $
|
||||
# $Id: configure,v 1.517.22.1 2012/01/30 10:09:37 marka Exp $
|
||||
#
|
||||
# Portions of this code release fall under one or more of the
|
||||
# following Copyright notices. Please see individual source
|
||||
@@ -22176,7 +22176,9 @@ case $host in
|
||||
# Linux kernels produce unusable core dumps from multithreaded
|
||||
# programs, and because of limitations in setuid().
|
||||
use_threads=false ;;
|
||||
*-darwin10.*)
|
||||
*-darwin[123456789].*)
|
||||
use_threads=false ;;
|
||||
*-darwin*.*)
|
||||
use_threads=true ;;
|
||||
*)
|
||||
use_threads=false ;;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.667 2012/01/30 00:06:13 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.667.2.1 2012/01/31 01:11:55 each Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -3768,9 +3768,7 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
|
||||
}
|
||||
}
|
||||
|
||||
zone->loadtime = loadtime;
|
||||
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1), "loaded");
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(1), "loaded; checking validity");
|
||||
|
||||
/*
|
||||
* Master / Slave / Stub zones require both NS and SOA records at
|
||||
@@ -4033,6 +4031,7 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
|
||||
dns_zone_log(zone, ISC_LOG_INFO, "loaded serial %u%s", serial,
|
||||
dns_db_issecure(db) ? " (DNSSEC signed)" : "");
|
||||
|
||||
zone->loadtime = loadtime;
|
||||
DNS_ZONE_CLRFLAG(zone, DNS_ZONEFLG_LOADPENDING);
|
||||
return (result);
|
||||
|
||||
|
||||
6
version
6
version
@@ -1,4 +1,4 @@
|
||||
# $Id: version,v 1.60 2012/01/29 05:14:07 each Exp $
|
||||
# $Id: version,v 1.60.2.1 2012/01/31 01:16:31 each Exp $
|
||||
#
|
||||
# This file must follow /bin/sh rules. It is imported directly via
|
||||
# configure.
|
||||
@@ -6,5 +6,5 @@
|
||||
MAJORVER=9
|
||||
MINORVER=9
|
||||
PATCHVER=0
|
||||
RELEASETYPE=
|
||||
RELEASEVER=
|
||||
RELEASETYPE=rc
|
||||
RELEASEVER=2
|
||||
|
||||
Reference in New Issue
Block a user