Commit 7b65ea4c authored by Evan Hunt's avatar Evan Hunt

remove unneeded files and options from glue test

- the cache-file and check-itegrity options were not needed
- some zones and files were not used
parent 417df8cf
Pipeline #20363 passed with stages
in 18 minutes and 46 seconds
......@@ -13,7 +13,7 @@
# Clean up after glue tests.
#
rm -f dig.out ns1/cache
rm -f dig.out
rm -f */named.conf
rm -f */named.memstats
rm -f */named.run
......
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
; 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
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
$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.
ARL.MIL. 172800 IN NS NS1.ARL.MIL.
NS1.arl.mil. 172800 IN A 128.63.16.4
......@@ -19,8 +19,6 @@ options {
listen-on-v6 { none; };
recursion yes;
notify no;
cache-file "cache";
check-integrity no;
};
zone "." {
......@@ -36,8 +34,3 @@ zone "net" {
type master;
file "net.db";
};
zone "mil" {
type master;
file "mil.db";
};
......@@ -23,8 +23,6 @@ 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
......@@ -42,17 +40,3 @@ 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
......@@ -14,5 +14,3 @@ SYSTEMTESTTOP=..
$SHELL clean.sh
copy_setports ns1/named.conf.in ns1/named.conf
cd ns1 && cp -f cache.in cache
; <<>> DiG 9.0 <<>> +norec @10.53.0.1 -p 5300 foo.bar.xx. a
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41239
;; flags: qr ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;foo.bar.xx. IN A
;; AUTHORITY SECTION:
xx. 172800 IN NS b.root-servers.nil.
;; ADDITIONAL SECTION:
b.root-servers.nil. 300 IN A 10.53.0.2
; <<>> DiG 9.0 <<>> +norec @10.53.0.1 -p 5300 foo.bar.yy. a
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6172
;; flags: qr ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;foo.bar.yy. IN A
;; AUTHORITY SECTION:
yy. 172800 IN NS ns.zz.
;; ADDITIONAL SECTION:
ns.zz. 3463 IN A 10.0.0.1
ns.zz. 86263 IN AAAA 10::1
......@@ -667,11 +667,8 @@
./bin/tests/system/glue/clean.sh SH 2000,2001,2004,2007,2012,2014,2015,2016,2018,2019
./bin/tests/system/glue/fi.good X 2000,2001,2018,2019
./bin/tests/system/glue/noglue.good X 2000,2001,2018,2019
./bin/tests/system/glue/ns1/cache.in X 2018,2019
./bin/tests/system/glue/setup.sh SH 2001,2004,2007,2012,2016,2018,2019
./bin/tests/system/glue/tests.sh SH 2000,2001,2003,2004,2007,2012,2013,2016,2017,2018,2019
./bin/tests/system/glue/xx.good X 2000,2001,2018,2019
./bin/tests/system/glue/yy.good X 2000,2001,2003,2018,2019
./bin/tests/system/idna/clean.sh SH 2018,2019
./bin/tests/system/idna/setup.sh SH 2018,2019
./bin/tests/system/idna/tests.sh SH 2018,2019
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment