criecm.nsd
nsd
Install & (re)configure nsd server on Debian, FreeBSD or OpenBSD
avec nsd-control (add|delete)zone $ZONE $PATTERN
Variables (default)
nsd_addresses([]) list of ip address (*if empty)nsd_patterns([]) list of patterns to use with zones item format: same aspatternin nsd.confnsd_keys([]) list of TSIG keys item format: same askeyin nsd.confnsd_zones([]) list of zones to add/modify item format: dict withnameandpatternelements (eventually 'intpattern' for machines withis_internal_nsd== True)- if
patternis not defined, zone will be skipped by hosts (unless host hasis_internal_nsd==Trueandintpatternis defined) - if
pattern(orintpatternif applicable) is defined but the pattern is not innsd_patterns, zone is skipped by the host to create list from existing zones, type on your nsd server:echo " nsd_zones:"; nsd-control zonestatus | awk '/^zone:/ { z=$2; } /pattern:/ { printf(" - { name: '\''%s'\'', pattern: %s }\n",z,$2); }'
- if
is_internal_nsd(False) prefer "intpattern" to "pattern" innsd_zonesnsd_zones_force_pattern('') if not empty, use this pattern for all zones innsd_zonesnsd_zonesdir_owner(root) user who should own master zone files
Install
ansible-galaxy install criecm.nsdLicense
Unknown
Downloads
76
Owner
Direction des Systèmes d'Information
