Add a "dig" action
Signed-off-by: Adam Israel <adam.israel@canonical.com>
diff --git a/layers/netutils/actions.yaml b/layers/netutils/actions.yaml
index 9995f77..5c99e21 100644
--- a/layers/netutils/actions.yaml
+++ b/layers/netutils/actions.yaml
@@ -30,3 +30,18 @@
type: string
required:
- destination
+dig:
+ description: "DNS lookup"
+ params:
+ nsserver:
+ description: "The nameserver to lookup against."
+ type: string
+ host:
+ description: "The host to lookup"
+ type: string
+ type:
+ description: "The DNS record type to lookup"
+ type: string
+ required:
+ - host
+