1999. [func] Implement "rrset-order fixed". [RT #13662]

This commit is contained in:
Mark Andrews
2006-03-03 00:43:35 +00:00
parent fb9395c8dd
commit d76ed813a5
48 changed files with 944 additions and 86 deletions

View File

@@ -0,0 +1,43 @@
/*
* Copyright (C) 2006 Internet Systems Consortium, Inc. ("ISC")
*
* 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 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.2 2006/03/03 00:43:35 marka Exp $ */
controls { /* empty */ };
options {
query-source address 10.53.0.1;
notify-source 10.53.0.1;
transfer-source 10.53.0.1;
port 5300;
pid-file "named.pid";
listen-on { 10.53.0.1; };
listen-on-v6 { none; };
recursion no;
notify yes;
rrset-order {
name "fixed.example" order fixed;
name "random.example" order random;
name "cyclic.example" order cyclic;
type NS order random;
order cyclic;
};
};
zone "." {
type master;
file "root.db";
};

View File

@@ -0,0 +1,40 @@
; Copyright (C) 2006 Internet Systems Consortium, Inc. ("ISC")
;
; 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 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: root.db,v 1.2 2006/03/03 00:43:35 marka Exp $
$TTL 3600
. SOA hostmaster.isc.org. a.root-servers.nil. (
2000042100
600
600
1200
600 )
. NS a.root-servers.nil.
a.root-servers.nil A 10.53.0.1
;
fixed.example. A 1.2.3.4
fixed.example. A 1.2.3.3
fixed.example. A 1.2.3.1
fixed.example. A 1.2.3.2
;
random.example. A 1.2.3.1
random.example. A 1.2.3.2
random.example. A 1.2.3.3
random.example. A 1.2.3.4
;
cyclic.example. A 1.2.3.4
cyclic.example. A 1.2.3.3
cyclic.example. A 1.2.3.2
cyclic.example. A 1.2.3.1