Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
27c1fa93
Commit
27c1fa93
authored
Jul 10, 2000
by
David Lawrence
Browse files
use rndc instead of kill to reload the servers ... with the added benefit
that now the body of this test should pass on BSD/OS
parent
2c6d0da3
Changes
6
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/views/ns2/named1.conf
View file @
27c1fa93
...
...
@@ -15,7 +15,7 @@
*
SOFTWARE
.
*/
/* $
Id
:
named1
.
conf
,
v
1
.
7
2000
/
0
6
/
22
21
:
52
:
52
tale
Exp
$ */
/* $
Id
:
named1
.
conf
,
v
1
.
8
2000
/
0
7
/
10
11
:
39
:
47
tale
Exp
$ */
options
{
query
-
source
address
10
.
53
.
0
.
2
;
...
...
@@ -27,6 +27,15 @@ options {
notify
yes
;
};
key
rndc_key
{
secret
"1234abcd8765"
;
algorithm
hmac
-
md5
;
};
controls
{
inet
10
.
53
.
0
.
2
port
9953
allow
{
10
.
53
.
0
.
2
; }
keys
{
rndc_key
; };
};
zone
"."
{
type
hint
;
file
"root.hint"
;
...
...
bin/tests/system/views/ns2/named2.conf
View file @
27c1fa93
...
...
@@ -15,7 +15,7 @@
*
SOFTWARE
.
*/
/* $
Id
:
named2
.
conf
,
v
1
.
7
2000
/
0
6
/
22
21
:
52
:
53
tale
Exp
$ */
/* $
Id
:
named2
.
conf
,
v
1
.
8
2000
/
0
7
/
10
11
:
39
:
48
tale
Exp
$ */
options
{
query
-
source
address
10
.
53
.
0
.
2
;
...
...
@@ -28,6 +28,15 @@ options {
notify
yes
;
};
key
rndc_key
{
secret
"1234abcd8765"
;
algorithm
hmac
-
md5
;
};
controls
{
inet
10
.
53
.
0
.
2
port
11953
allow
{
10
.
53
.
0
.
2
; }
keys
{
rndc_key
; };
};
view
"internal"
{
match
-
clients
{
10
.
53
.
0
.
2
;
10
.
53
.
0
.
3
; };
...
...
bin/tests/system/views/ns3/named1.conf
View file @
27c1fa93
...
...
@@ -15,7 +15,7 @@
*
SOFTWARE
.
*/
/* $
Id
:
named1
.
conf
,
v
1
.
8
2000
/
0
6
/
22
21
:
52
:
5
7
tale
Exp
$ */
/* $
Id
:
named1
.
conf
,
v
1
.
9
2000
/
0
7
/
10
11
:
39
:
5
0
tale
Exp
$ */
options
{
query
-
source
address
10
.
53
.
0
.
3
;
...
...
@@ -29,6 +29,15 @@ options {
notify
yes
;
};
key
rndc_key
{
secret
"1234abcd8765"
;
algorithm
hmac
-
md5
;
};
controls
{
inet
10
.
53
.
0
.
3
port
9953
allow
{
10
.
53
.
0
.
3
; }
keys
{
rndc_key
; };
};
zone
"."
{
type
hint
;
file
"root.hint"
;
...
...
bin/tests/system/views/ns3/named2.conf
View file @
27c1fa93
...
...
@@ -15,7 +15,7 @@
*
SOFTWARE
.
*/
/* $
Id
:
named2
.
conf
,
v
1
.
8
2000
/
0
6
/
22
21
:
52
:
5
8
tale
Exp
$ */
/* $
Id
:
named2
.
conf
,
v
1
.
9
2000
/
0
7
/
10
11
:
39
:
5
1
tale
Exp
$ */
options
{
query
-
source
address
10
.
53
.
0
.
3
;
...
...
@@ -29,6 +29,15 @@ options {
notify
yes
;
};
key
rndc_key
{
secret
"1234abcd8765"
;
algorithm
hmac
-
md5
;
};
controls
{
inet
10
.
53
.
0
.
3
port
11953
allow
{
10
.
53
.
0
.
3
; }
keys
{
rndc_key
; };
};
zone
"."
{
type
hint
;
file
"root.hint"
;
...
...
bin/tests/system/views/rndc.conf
0 → 100644
View file @
27c1fa93
/*
*
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
:
rndc
.
conf
,
v
1
.
1
2000
/
07
/
10
11
:
39
:
45
tale
Exp
$ */
options
{
default
-
key
"rndc_key"
;
};
key
rndc_key
{
algorithm
hmac
-
md5
;
secret
"1234abcd8765"
;
};
bin/tests/system/views/tests.sh
View file @
27c1fa93
...
...
@@ -15,7 +15,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: tests.sh,v 1.1
6
2000/07/0
9
1
6
:3
3:09
tale Exp $
# $Id: tests.sh,v 1.1
7
2000/07/
1
0 1
1
:3
9:46
tale Exp $
#
# Perform tests
...
...
@@ -42,10 +42,10 @@ cp ns2/named2.conf ns2/named.conf
cp
ns3/named2.conf ns3/named.conf
cp
ns2/example2.db ns2/example.db
echo
"I:sleeping five seconds then reloading ns2 and ns3"
echo
"I:sleeping five seconds then reloading ns2 and ns3
with rndc
"
sleep
5
kill
-HUP
`
cat
ns2/named.pid
`
kill
-HUP
`
cat
ns3/named.pid
`
$RNDC
-c
rndc.conf
-s
10.53.0.2
-p
9953 reload
$RNDC
-c
rndc.conf
-s
10.53.0.3
-p
9953 reload
echo
"I:sleeping one minute"
sleep
60
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment