diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-06 21:42:35 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-06 21:42:35 +0200 |
commit | 90ed20d687a4524bc8225a8c33188681f5447e52 (patch) | |
tree | d899c4e601a477583fdc3e11ddb422d67d3f3fe1 /manifests | |
parent | "Working" product. (diff) | |
download | dns-90ed20d687a4524bc8225a8c33188681f5447e52.tar.gz dns-90ed20d687a4524bc8225a8c33188681f5447e52.tar.xz |
work.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/record.pp | 9 | ||||
-rw-r--r-- | manifests/zone.pp | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/manifests/record.pp b/manifests/record.pp index 2ecb52f..1b36a94 100644 --- a/manifests/record.pp +++ b/manifests/record.pp @@ -1,10 +1,7 @@ # @param type # Record type (A, AAAA, ...) -# @param class +# @param cls # DNS class type (IN, HS, CH, HS) -# @param dns_name -# Name of record (example.com.) -# Note that the trailing period **IS** significant # @param ttl # TTL for record. # @param duplicate @@ -20,6 +17,10 @@ # Some record types have extra processing. # TXT splits data into chunks of 255 characters (TODO shouldn't # this be bytes) and the surrounds each chunk with quotation marks. +# @param key +# DNS key. Will be treated as absolute if ending with a period, or +# relative to the zone if not. '@' for the "empty" key. +# TODO tests for above? define dns::record ( String $zone, Dns::Rr $type, diff --git a/manifests/zone.pp b/manifests/zone.pp index 33c2b0d..1fee3d5 100644 --- a/manifests/zone.pp +++ b/manifests/zone.pp @@ -33,8 +33,6 @@ # @param soa_ttl # TTL of SOA record. define dns::zone ( - Boolean $manage_soa = true, - String $rname = undef, String $mname = $ns[0], Dns::Ttl $refresh = '24h', |