initialize sockaddrdscp to prevent spurious output from 'named-checkconf -p'
This commit is contained in:
@@ -120,6 +120,12 @@ view "second" {
|
||||
};
|
||||
zone-statistics no;
|
||||
};
|
||||
zone "example3" {
|
||||
type static-stub;
|
||||
server-addresses {
|
||||
1.2.3.4;
|
||||
};
|
||||
};
|
||||
zone "clone" {
|
||||
in-view "first";
|
||||
};
|
||||
|
||||
@@ -2,6 +2,7 @@ example1 IN first master
|
||||
clone IN first master
|
||||
example1 IN second master
|
||||
example2 IN second static-stub
|
||||
example3 IN second static-stub
|
||||
clone IN second in-view first
|
||||
. IN second redirect
|
||||
clone IN third in-view first
|
||||
|
||||
@@ -380,7 +380,7 @@ if [ $ret != 0 ]; then echo_i "failed"; ret=1; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo_i "check that named-checkconf -l print out the zone list ($n)"
|
||||
echo_i "check that named-checkconf -l prints out the zone list ($n)"
|
||||
ret=0
|
||||
$CHECKCONF -l good.conf |
|
||||
grep -v "is not implemented" |
|
||||
|
||||
Reference in New Issue
Block a user