summaryrefslogtreecommitdiffstats
path: root/src/plugins/dns/dns.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dns/dns.api')
-rw-r--r--src/plugins/dns/dns.api4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/dns/dns.api b/src/plugins/dns/dns.api
index a4faec6bbb5..866ed8abae3 100644
--- a/src/plugins/dns/dns.api
+++ b/src/plugins/dns/dns.api
@@ -25,6 +25,7 @@ autoreply manual_print define dns_enable_disable {
u32 client_index;
u32 context;
u8 enable;
+ option vat_help = "[enable][disable]";
};
/** \brief add or delete an upstream name server
@@ -41,6 +42,7 @@ autoreply manual_print define dns_name_server_add_del {
u8 is_ip6;
u8 is_add;
u8 server_address[16];
+ option vat_help = "<ip-address> [del]";
};
/** \brief DNS name resolution request
@@ -53,6 +55,7 @@ manual_print define dns_resolve_name {
u32 client_index;
u32 context;
u8 name[256];
+ option vat_help = "<hostname>";
};
/** \brief DNS name resolution reply
@@ -86,6 +89,7 @@ manual_print define dns_resolve_ip {
u32 context;
u8 is_ip6;
u8 address[16];
+ option vat_help = "<ip4|ip6>";
};
/** \brief DNS ip->name resolution reply