NAME

wtdnsadd - WtDNS resource record creator

SYNOPSIS

wtdnsadd <hostname> <TYPE> <data> [<TYPE> <data>] ...

DESCRIPTION

The wtdnsadd command adds resource records to the WtDNS data directory.

OPTIONS

wtdnsadd expects it’s first parameter to be a qualified or unqualified hostname. If it is not qualified, the dynamic DNS base domain will be appended.

After the host name, it expects pairs of resource record types and resource record data. It will create a resource record file for each such pair, overwriting existing files.

CONFIGURATION

The following global options are recognized in the configuration file.

debug = yes/no

If this is on, some programs will just list/log what they would do if it was off without actually doing it.

datadir = directory

The directory where WtDNS resource records are stored. Default is “/var/lib/wtdns”.

domain = domainname

The base domain for dynamic DNS.

hashing = yes/no

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. Do not use wtdnshash to create directories when this is turned off.

oldhash = yes/no

If on, WtDNS will omit the ‘#’ i front of the hash, wich makes it compatible with the oriinal SheerDNS software.

hasher = command

The command to use when getting a hash for the host domain directory. Default is “/usr/bin/wtdnshash”.

EXAMPLE

Add a A record with the IP address “192.0.2.3” for the host “pop.example.net”:

wtdnsadd pop.example.net A 192.0.2.3

Add a TXT record for the host “goner” in the dynamic DNS domain:

wtdnsadd goner TXT 'This host is no more.'

FILES

/var/lib/wtdns

All resource records are stored in this directory.

/etc/wtdns/wtdns.ini
The global configuration file.

SEE ALSO

wtdns(8), wtdns.ini(8), wtdnsinfo(8), wtdnssign(8), wtdnshash(8), wtdns-deepen(8), wtdns-flatten(8), wtdnsd(8), wtdns-fromlog(8), wtdns-maintain(8), dig(1)