wtdnshash - WtDNS hash directory creator
wtdnshash [options] <domainname> [domainname] ...
The WtDNS hash utility creates and prints hashes for domainames, to be read by WtDNSd, in the format
/var/lib/wtdns/#XX/fqdn.hostname.domain
where fqdn.hostname.domain is a lower case full domain name, or an IP address for PTR lookups and XX is a upper case hexadecimal hash of the domain name.
For each domainname, wtdnshash will print a single line with the hash and try to create the directory.
Omit the hash mark ‘#’ from the hashes. This makes WtDNS use the same hash directories as the original SheerDNS. Remember to use this option with wtdnsd if you use it with wtdnshash.
Omit the hash (two character hex) part of the path.
The directory where WtDNS resource records are stored.
Read specified configuration file.
Log to syslog (using the daemon facility).
Log to file. If using this together with -ls, less information will be logged to syslog.
Log debug information to a separate file. If using this together with -ls and/or -lf, less information will be logged to syslog and the other file.
Increase log level by 1.
Print WtDNSd name and version, then exit.
Print usage information, then exit.
The following global options are recognized in the configuration file.
The directory where WtDNS resource records are stored. Default is “/var/lib/wtdns”.
Wether to use the hash part in the domain name paths or not. For small sites turning of hashing might make things easier for the administrator. Default is to use hashing.
If on, WtDNS will omit the ‘#’ i front of the hash, wich makes it compatible with the oriinal SheerDNS software.
All resource records are stored in this directory.
The global configuration file.
wtdns(8), wtdns.ini(8), wtdnsinfo(8), wtdnsadd(8), wtdnssign(8), wtdns-deepen(8), wtdns-flatten(8), wtdnsd(8), wtdns-fromlog(8), wtdns-maintain(8), dig(1)