ldns-gen-zone(1) | General Commands Manual | ldns-gen-zone(1) |
ldns-gen-zone - read a zonefile and print it while adding DS records and extra RR's
ldns-gen-zone ZONEFILE
ldns-gen-zone reads a DNS zone file and prints it.
It is build for speed, not for a nice formatting. The output has one resource record per line and no pretty-printing makeup.
DNSSEC data (NSEC, NSEC3, RRSIG or DNSKEY) is not stripped. You may want to use ldns-read-zone for that. Existing DS records are also not stripped.
The idea is to use this tool for quickly generating a representative artificial zonefile from a real zonefile, to use it for testing purposes.
An artificial NS RRSet has two NS records; ns1.example.com and ns2.example.com.
It is not recommended to use this option if you want to add DS records to unsorted, non-canonicalized zones.
Initially written by Marco Davids, several modifications added by Miek Gieben, both from SIDN.
Report bugs to <ldns-team@nlnetlabs.nl>.
Only undiscovered ones.
May require a machine with a considerable amount of memory for large zone files.
Fake DS records hashes are generated as digest type SHA-256 (RFC4509). Be aware not to change the DIGESTTYPE #define in the source code in anything else but 2 if you want to keep things realistic.
Despite a number of efforts, this program is still not the fastest in the world.
Copyright (C) 2010 SIDN. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 June 2010 |