ldns-read-zone (1) - Linux Man Pages
ldns-read-zone: read a zonefile and print it
NAMEldns-read-zone - read a zonefile and print it
ldns-read-zone reads a DNS zone file and prints it. The output has 1 resource record per line, and no pretty-printing makeup.
Canonicalize all resource records in the zone before printing
Only print DNSSEC data from the zone. This option skips every record
that is not of type NSEC, NSEC3, RRSIG or DNSKEY. DS records are not
Include Bubble Babble encoding of DS's.
Print a (null) for the RRSIG inception, expiry and key data. This option
can be used when comparing different signing systems that use the same
DNSKEYs for signing but would have a slightly different timings/jitter.
Show usage and exit
Do not print the SOA record
Pad the SOA serial number with spaces so the number and the spaces together
take ten characters. This is useful for in file serial number increments.
Strip DNSSEC data from the zone. This option skips every record
that is of type NSEC, NSEC3, RRSIG or DNSKEY. DS records are still
- -S [[+|0]number | YYYYMMDDxx | unixtime ]
Set serial number to the given number, or when preceded by a sign,
offset the exisiting number with it. When giving the literal strings
YYYYMMDDxx or unixtime, the serial number is tried to be reset
in datecounter or in unixtime format respectively. Though is the updated serial
number is smaller than the original one, the original one is simply
increased by one.
When updating a serial number, records of type NSEC, NSEC3, RRSIG and DNSKEY will be skipped when printing the zone.
Show the version and exit
Sort the zone before printing (this implies -c)
AUTHORWritten by the ldns team as an example for ldns usage.
REPORTING BUGSReport bugs to <ldns-team [at] nlnetlabs.nl>.
COPYRIGHTCopyright (C) 2005 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.