Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
2ec746da
Commit
2ec746da
authored
Dec 13, 2018
by
Curtis Blackburn
Committed by
Evan Hunt
Dec 14, 2018
Browse files
minor fixes to dns64 and rndc CRLF fix. rpzrecurse failure
will be addressed in a separate issue
parent
9fc68285
Pipeline
#8062
failed with stages
in 10 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/dns64/tests.sh
View file @
2ec746da
...
...
@@ -1278,7 +1278,7 @@ status=`expr $status + $ret`
echo_i
"checking reverse mapping (
$n
)"
ret
=
0
$DIG
$DIGOPTS
-x
2001:aaaa::10.0.0.1 @10.53.0.2
>
dig.out.ns2.test
$n
||
ret
=
1
tr
-d
'\r'
< dig.out.ns2
$n
|
grep
-i
"CNAME.1.0.0.10.IN-ADDR.ARPA.$"
>
/dev/null
||
ret
=
1
tr
-d
'\r'
< dig.out.ns2
.test
$n
|
grep
-i
"CNAME.1.0.0.10.IN-ADDR.ARPA.$"
>
/dev/null
||
ret
=
1
n
=
`
expr
$n
+ 1
`
if
[
$ret
!=
0
]
;
then
echo_i
"failed"
;
fi
status
=
`
expr
$status
+
$ret
`
...
...
bin/tests/system/rndc/tests.sh
View file @
2ec746da
...
...
@@ -229,7 +229,7 @@ do
done
serial
=
`
awk
'$3 == "serial" {print $1}'
ns2/other.db
`
newserial
=
`
expr
$serial
+ 1
`
sed
s/
$serial
/
$newserial
/ ns2/other.db
>
ns2/other.db.new
sed
"
s/
$serial
/
$newserial
/
"
ns2/other.db
>
ns2/other.db.new
echo
'frozen TXT "frozen addition"'
>>
ns2/other.db.new
mv
-f
ns2/other.db.new ns2/other.db
$RNDCCMD
10.53.0.2 thaw 2>&1 |
sed
's/^/ns2 /'
| cat_i
...
...
@@ -272,7 +272,7 @@ do
done
serial
=
`
awk
'$3 == "serial" {print $1}'
ns2/nil.db
`
newserial
=
`
expr
$serial
+ 1
`
sed
s/
$serial
/
$newserial
/ ns2/nil.db
>
ns2/nil.db.new
sed
"
s/
$serial
/
$newserial
/
"
ns2/nil.db
>
ns2/nil.db.new
echo
'frozen TXT "frozen addition"'
>>
ns2/nil.db.new
mv
-f
ns2/nil.db.new ns2/nil.db
$RNDCCMD
10.53.0.2 thaw 2>&1 |
sed
's/^/ns2 /'
| cat_i
...
...
Curtis Blackburn
@ckb
mentioned in commit
9599679d
·
Dec 15, 2018
mentioned in commit
9599679d
mentioned in commit 9599679d31681c9e4bd3ad04e208b559b96d0e16
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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