added glue test
This commit is contained in:
1
bin/tests/system/glue/ns1/.cvsignore
Normal file
1
bin/tests/system/glue/ns1/.cvsignore
Normal file
@@ -0,0 +1 @@
|
||||
named.run
|
||||
23
bin/tests/system/glue/ns1/cache
Normal file
23
bin/tests/system/glue/ns1/cache
Normal file
@@ -0,0 +1,23 @@
|
||||
; Copyright (C) 2000 Internet Software Consortium.
|
||||
;
|
||||
; Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
; ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
; OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
; CONSORTIUM 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: cache,v 1.1 2000/07/06 01:28:07 gson Exp $
|
||||
|
||||
; Preloaded cache data for glue test
|
||||
|
||||
$TTL 86400
|
||||
ns.zz. 3600 IN A 10.0.0.1
|
||||
ns.zz. IN AAAA 10::1
|
||||
ns.zz. IN A6 0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
|
||||
32
bin/tests/system/glue/ns1/mil.db
Normal file
32
bin/tests/system/glue/ns1/mil.db
Normal file
@@ -0,0 +1,32 @@
|
||||
; Copyright (C) 2000 Internet Software Consortium.
|
||||
;
|
||||
; Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
; ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
; OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
; CONSORTIUM 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: mil.db,v 1.1 2000/07/06 01:28:07 gson Exp $
|
||||
|
||||
$ORIGIN mil.
|
||||
$TTL 300
|
||||
@ IN SOA gson.nominum.com. a.root.servers.nil. (
|
||||
2000042100 ; serial
|
||||
600 ; refresh
|
||||
600 ; retry
|
||||
1200 ; expire
|
||||
600 ; minimum
|
||||
)
|
||||
@ NS a.root-servers.nil.
|
||||
a.root-servers.nil. A 10.53.0.1
|
||||
|
||||
ARL.MIL. 172800 IN NS NS1.ARL.MIL.
|
||||
NS1.arl.mil. 172800 IN A 128.63.16.4
|
||||
|
||||
48
bin/tests/system/glue/ns1/named.conf
Normal file
48
bin/tests/system/glue/ns1/named.conf
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright (C) 2000 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
* CONSORTIUM 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: named.conf,v 1.1 2000/07/06 01:28:07 gson Exp $ */
|
||||
|
||||
options {
|
||||
query-source address 10.53.0.1;
|
||||
port 5300;
|
||||
directory ".";
|
||||
pid-file "named.pid";
|
||||
listen-on { 10.53.0.1; };
|
||||
listen-on-v6 { none ; };
|
||||
recursion no;
|
||||
notify no;
|
||||
};
|
||||
|
||||
zone "." {
|
||||
type master;
|
||||
file "root.db";
|
||||
};
|
||||
|
||||
zone "root-servers.nil" {
|
||||
type master;
|
||||
file "root-servers.nil.db";
|
||||
};
|
||||
zone "net" {
|
||||
type master;
|
||||
file "net.db";
|
||||
};
|
||||
|
||||
zone "mil" {
|
||||
type master;
|
||||
file "mil.db";
|
||||
};
|
||||
1
bin/tests/system/glue/ns1/namedopts
Normal file
1
bin/tests/system/glue/ns1/namedopts
Normal file
@@ -0,0 +1 @@
|
||||
-x cache
|
||||
34
bin/tests/system/glue/ns1/net.db
Normal file
34
bin/tests/system/glue/ns1/net.db
Normal file
@@ -0,0 +1,34 @@
|
||||
; Copyright (C) 2000 Internet Software Consortium.
|
||||
;
|
||||
; Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
; ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
; OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
; CONSORTIUM 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: net.db,v 1.1 2000/07/06 01:28:07 gson Exp $
|
||||
|
||||
$ORIGIN net.
|
||||
$TTL 300
|
||||
@ IN SOA gson.nominum.com. a.root.servers.nil. (
|
||||
2000042100 ; serial
|
||||
600 ; refresh
|
||||
600 ; retry
|
||||
1200 ; expire
|
||||
600 ; minimum
|
||||
)
|
||||
@ NS a.root-servers.nil.
|
||||
a.root-servers.nil. A 10.53.0.1
|
||||
|
||||
; FI. authoritative servers, for the FI. glue test
|
||||
uu.net. NS ns.uu.net.
|
||||
NS.UU.NET. 172800 IN A 137.39.1.3
|
||||
eu.net. NS ns.eu.net.
|
||||
NS.EU.NET. 172800 IN A 192.16.202.11
|
||||
31
bin/tests/system/glue/ns1/root-servers.nil.db
Normal file
31
bin/tests/system/glue/ns1/root-servers.nil.db
Normal file
@@ -0,0 +1,31 @@
|
||||
; Copyright (C) 2000 Internet Software Consortium.
|
||||
;
|
||||
; Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
; ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
; OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
; CONSORTIUM 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: root-servers.nil.db,v 1.1 2000/07/06 01:28:07 gson Exp $
|
||||
|
||||
$TTL 300
|
||||
@ IN SOA ns hostmaster (
|
||||
1
|
||||
3600
|
||||
1800
|
||||
1814400
|
||||
3600
|
||||
)
|
||||
NS a
|
||||
a A 10.53.0.1
|
||||
b A 10.53.0.2
|
||||
|
||||
|
||||
|
||||
76
bin/tests/system/glue/ns1/root.db
Normal file
76
bin/tests/system/glue/ns1/root.db
Normal file
@@ -0,0 +1,76 @@
|
||||
; Copyright (C) 2000 Internet Software Consortium.
|
||||
;
|
||||
; Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
; ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
; OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
; CONSORTIUM 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: root.db,v 1.1 2000/07/06 01:28:08 gson Exp $
|
||||
|
||||
$TTL 300
|
||||
. IN SOA gson.nominum.com. a.root.servers.nil. (
|
||||
2000042100 ; serial
|
||||
600 ; refresh
|
||||
600 ; retry
|
||||
1200 ; expire
|
||||
600 ; minimum
|
||||
)
|
||||
. NS a.root-servers.nil.
|
||||
|
||||
root-servers.nil. NS a.root-servers.nil.
|
||||
a.root-servers.nil. A 10.53.0.1
|
||||
|
||||
; Delegate some domains that contain name servers for the sample
|
||||
; ccTLDs below.
|
||||
net. 172800 IN NS a.root-servers.nil.
|
||||
mil. 172800 IN NS a.root-servers.nil.
|
||||
se. 172800 IN NS ns.uu.net.
|
||||
|
||||
;
|
||||
; A sample ccTLD
|
||||
;
|
||||
fi. 172800 IN NS NS.TELE.fi.
|
||||
fi. 172800 IN NS PRIFI.EUNET.fi.
|
||||
fi. 172800 IN NS NS.UU.NET.
|
||||
fi. 172800 IN NS T.NS.VERIO.NET.
|
||||
fi. 172800 IN NS HYDRA.HELSINKI.fi.
|
||||
fi. 172800 IN NS NS.EU.NET.
|
||||
NS.TELE.fi. 172800 IN A 193.210.18.18
|
||||
NS.TELE.fi. 172800 IN A 193.210.19.19
|
||||
PRIFI.EUNET.fi. 172800 IN A 193.66.1.146
|
||||
NS.UU.NET. 172800 IN A 137.39.1.3
|
||||
T.NS.VERIO.NET. 172800 IN A 192.67.14.16
|
||||
HYDRA.HELSINKI.fi. 172800 IN A 128.214.4.29
|
||||
NS.EU.NET. 172800 IN A 192.16.202.11
|
||||
|
||||
;
|
||||
; Another sample ccTLD
|
||||
;
|
||||
is. 172800 IN NS ISGATE.is.
|
||||
is. 172800 IN NS NISC.JVNC.NET.
|
||||
is. 172800 IN NS NS.EU.NET.
|
||||
is. 172800 IN NS SPARKY.ARL.MIL.
|
||||
is. 172800 IN NS SUNIC.SUNET.SE.
|
||||
ISGATE.is. 172800 IN A 193.4.58.51
|
||||
NISC.JVNC.NET. 172800 IN A 128.121.50.7
|
||||
NS.EU.NET. 172800 IN A 192.16.202.11
|
||||
SPARKY.ARL.MIL. 172800 IN A 128.63.58.18
|
||||
SUNIC.SUNET.SE. 172800 IN A 192.36.125.2
|
||||
|
||||
;
|
||||
; A hypothetical ccTLD where we are authoritative for the NS glue.
|
||||
;
|
||||
xx. 172800 IN NS b.root-servers.nil.
|
||||
|
||||
;
|
||||
; A hypothetical ccTLD where we have cached NS glue.
|
||||
;
|
||||
yy. 172800 IN NS ns.zz.
|
||||
Reference in New Issue
Block a user