3062. [func] Made several changes to enhance human readability
of DNSSEC data in dig output and in generated zone files: - DNSKEY record comments are more verbose, no longer used in multiline mode only - multiline RRSIG records reformatted - multiline output mode for NSEC3PARAM records - "dig +norrcomments" suppresses DNSKEY comments - "dig +split=X" breaks hex/base64 records into fields of width X; "dig +nosplit" disables this. [RT #22820]
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.5 2009/12/02 17:54:45 each Exp $
|
||||
# $Id: tests.sh,v 1.6 2011/03/05 19:39:06 each Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
@@ -46,8 +46,8 @@ $SIGNER -Sg -o $pzone $pfile > /dev/null 2>&1
|
||||
awk '$2 ~ /RRSIG/ {
|
||||
type = $3;
|
||||
getline;
|
||||
id = $2;
|
||||
if ($3 ~ /'${czone}'/) {
|
||||
id = $3;
|
||||
if ($4 ~ /'${czone}'/) {
|
||||
print type, id
|
||||
}
|
||||
}' < ${cfile}.signed > sigs
|
||||
@@ -56,7 +56,7 @@ awk '$2 ~ /DNSKEY/ {
|
||||
flags = $3;
|
||||
while ($0 !~ /key id =/)
|
||||
getline;
|
||||
id = $6;
|
||||
id = $NF;
|
||||
print flags, id;
|
||||
}' < ${cfile}.signed > keys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user