Default variables

Basic options

gdnsd__packages

gdnsd packages to install.

gdnsd__packages: [ 'gdnsd' ]
gdsnd__listen

List of local IP addresses (and ports) where gdsnd should listen for DNS requests. If emtpy, it will listen on all interfaces on port 53.

gdnsd__listen: []

Zone configuration

gdnsd__zones

List of DNS zones. For a detailed explanation see gdnsd__zones.

gdnsd__zones: []
gdnsd__ttl

Default TTL for zone entries.

gdnsd__ttl: 86400
gdnsd__mailbox

Mailbox name of the person responsible for this zone.

gdnsd__mailbox: 'hostmaster'
gdnsd__refresh

Time interval before the zone should be refreshed.

gdnsd__refresh: '3h'
gdnsd__retry

Time interval that should elapse before a failed refresh should be retried.

gdnsd__retry: '1h'
gdnsd__expire

Specifies how long zone data is considered valid in case the zone cannot be refreshed from the primary name server.

gdnsd__expire: '1w'
gdnsd__negative_cache

Negative caching TTL.

gdnsd__negative_cache: '1h'
gdnsd__reverse_zones

Support reverse zones. Set this to False in case reverse name lookup should not be supported.

gdnsd__reverse_zones: True
gdnsd__default_reverse_zone:

Default reverse zone. This value is used in case network is not specified in the zone definition and gdnsd__reverse_zones is enabled.

gdnsd__default_reverse_zone: '{{ ansible_default_ipv4.address.split(".")[:3] | reverse | join(".") }}.in-addr.arpa'