# WTDNS.INI(8) - WtDNS configuration file

## Jonas Eckerman jonas@truls.org

### 2012-10-16 15:10:51 UTC

# NAME

wtdns.ini - WtDNS configuration file

# SYNOPSIS

The wtdns.ini file contains global configuration for the WtDNS system.

# FILE FORMAT

This file is in INI-file format, with serveral sections. Global options must be placed before the first section.

Sections are specified with

    [sectionname]

Normal values are specified with

    optionname = optionvalue

Some options support multiple values, wich are set by using multiple statements, like this:

    optionname = optionvalue1
    optionname = optionvalue2
    optionname = optionvalue3

## Time-values

Time durations are specified this style:

    33d 2h 49m 18s

# GLOBAL OPTIONS

Not all options are listed here, and not all programs support all options that are listed. Please consult the documentation for the separate programs to see what options they read.

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.

user = user

  User used when updating and maintaining dynamic resource records.

group = group

  Group used when updating and maintaining dynamic resource records.

fallback = time

  Time after wich a dynamic record should be replaced with a fallback record (if avalilable).

purge = time

  Time after wich a dynamic record should be expired.

# EXAMPLE

    domain          = ddns.example.org

    user            = ddns
    group           = nogroup

    fallback        = 99m
    purge           = 30d

    [fallbacks]
    A       =       0.1.2.3
    AAAA    =       ::0.1.2.3

    [acl:kaftis]
    host = karius
    host = baktius
    parameters = ignore

# SEE ALSO

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