summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-05-05 01:20:42 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-06 18:31:16 +0200
commit2c26ed92a46a4cc6469cf2a603f1268ada0434fb (patch)
tree6bd2ff3e3abe0c6bc8acb4b04ce860a8e86ee6a6 /types
parentAdd update_policy. (diff)
downloaddns-2c26ed92a46a4cc6469cf2a603f1268ada0434fb.tar.gz
dns-2c26ed92a46a4cc6469cf2a603f1268ada0434fb.tar.xz
types
Diffstat (limited to '')
-rw-r--r--types/keyentry.pp3
-rw-r--r--types/recordentry.pp1
2 files changed, 3 insertions, 1 deletions
diff --git a/types/keyentry.pp b/types/keyentry.pp
index 2429758..f36e31f 100644
--- a/types/keyentry.pp
+++ b/types/keyentry.pp
@@ -1,4 +1,5 @@
type Dns::Keyentry = Struct[{
algorithm => String,
- secret => String,
+ secret => Variant[String, Sensitive[String]],
+ keyname => Optional[String],
}]
diff --git a/types/recordentry.pp b/types/recordentry.pp
index adcca7d..95a8045 100644
--- a/types/recordentry.pp
+++ b/types/recordentry.pp
@@ -4,4 +4,5 @@ type Dns::Recordentry = Struct[{
type => Dns::Rr,
ttl => Optional[Dns::Ttl],
dns_class => Optional[Dns::Class],
+ dns_name => Optional[String],
}]