diff options
Diffstat (limited to 'bin/tests/system/v6synth/ns2')
-rw-r--r-- | bin/tests/system/v6synth/ns2/example.db | 38 | ||||
-rw-r--r-- | bin/tests/system/v6synth/ns2/ip6.arpa.db | 24 | ||||
-rw-r--r-- | bin/tests/system/v6synth/ns2/ip6.int.db | 24 | ||||
-rw-r--r-- | bin/tests/system/v6synth/ns2/named.conf | 49 |
4 files changed, 135 insertions, 0 deletions
diff --git a/bin/tests/system/v6synth/ns2/example.db b/bin/tests/system/v6synth/ns2/example.db new file mode 100644 index 0000000..120b87d --- /dev/null +++ b/bin/tests/system/v6synth/ns2/example.db @@ -0,0 +1,38 @@ +; Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") +; Copyright (C) 2001 Internet Software Consortium. +; +; 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: example.db,v 1.4 2007/06/19 23:47:06 tbox Exp $ + +$TTL 86400 +@ IN SOA ns2 hostmaster ( + 2001010604 3600 1800 1814400 3600 ) + NS ns2.example. +ns2.example. A 10.53.0.2 + +a A 10.0.0.1 +aaaa AAAA 12:34:56::ff +a6 A6 0 12:34:56::ff +chain A6 64 0::ff:ff prefix +prefix A6 0 12:34:56::0 +alias CNAME chain +alias2 CNAME alias +dname DNAME foo + +loop CNAME loop + +loop2 CNAME loop3 +loop3 CNAME loop2 + +aaaa.foo AAAA 12:34:56::ff diff --git a/bin/tests/system/v6synth/ns2/ip6.arpa.db b/bin/tests/system/v6synth/ns2/ip6.arpa.db new file mode 100644 index 0000000..c99c8d9 --- /dev/null +++ b/bin/tests/system/v6synth/ns2/ip6.arpa.db @@ -0,0 +1,24 @@ +; Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") +; Copyright (C) 2001, 2002 Internet Software Consortium. +; +; 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: ip6.arpa.db,v 1.5 2007/06/19 23:47:06 tbox Exp $ + +$TTL 86400 +@ IN SOA ns2 hostmaster ( + 2001010604 3600 1800 1814400 3600 ) + NS ns2.example. +ns2.example. A 10.53.0.2 + +f.f.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.5.4.3.2.1 PTR foo. diff --git a/bin/tests/system/v6synth/ns2/ip6.int.db b/bin/tests/system/v6synth/ns2/ip6.int.db new file mode 100644 index 0000000..374e02a --- /dev/null +++ b/bin/tests/system/v6synth/ns2/ip6.int.db @@ -0,0 +1,24 @@ +; Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") +; Copyright (C) 2001 Internet Software Consortium. +; +; 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: ip6.int.db,v 1.4 2007/06/19 23:47:06 tbox Exp $ + +$TTL 86400 +@ IN SOA ns2 hostmaster ( + 2001010604 3600 1800 1814400 3600 ) + NS ns2.example. +ns2.example. A 10.53.0.2 + +f.f.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.5.4.3.2.1 PTR bar. diff --git a/bin/tests/system/v6synth/ns2/named.conf b/bin/tests/system/v6synth/ns2/named.conf new file mode 100644 index 0000000..1eb6d33 --- /dev/null +++ b/bin/tests/system/v6synth/ns2/named.conf @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2001 Internet Software Consortium. + * + * 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: named.conf,v 1.6 2007/06/18 23:47:31 tbox Exp $ */ + +controls { /* empty */ }; + +options { + query-source address 10.53.0.2; + notify-source 10.53.0.2; + transfer-source 10.53.0.2; + port 5300; + pid-file "named.pid"; + listen-on { 10.53.0.2; }; + listen-on-v6 { none; }; + recursion yes; + acache-enable yes; + notify yes; +}; + +zone "example" { + type master; + file "example.db"; +}; + +zone "ip6.int" { + type master; + file "ip6.int.db"; +}; + +zone "ip6.arpa" { + type master; + file "ip6.arpa.db"; +}; + |