summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-05-25 14:05:21 +0200
committerMichael Adam <obnox@samba.org>2013-05-26 18:13:29 +0200
commit96ed585f09efdad2b5e6ab7918966b1453154d71 (patch)
tree901cbf1ff095bc0c50bdeae955c8f878e9b04846 /librpc
parentdf43027bd8c127a44304f7130bf61adfcdf73eed (diff)
downloadsamba-96ed585f09efdad2b5e6ab7918966b1453154d71.tar.gz
samba-96ed585f09efdad2b5e6ab7918966b1453154d71.tar.bz2
samba-96ed585f09efdad2b5e6ab7918966b1453154d71.zip
idl: Add DNS RP record support as per RFC 1183
Not sure if we need this, but samba.org specifies it, so this could cause ANY queries against samba.org to fail. Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dns.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl
index 5b86f7e2de..5fc4ba4448 100644
--- a/librpc/idl/dns.idl
+++ b/librpc/idl/dns.idl
@@ -162,6 +162,12 @@ interface dns
} dns_txt_record;
typedef [public] struct {
+ dns_string mbox;
+ dns_string txt;
+
+ } dns_rp_record;
+
+ typedef [public] struct {
uint16 priority;
uint16 weight;
uint16 port;
@@ -221,6 +227,7 @@ interface dns
[case(DNS_QTYPE_PTR)] dns_string ptr_record;
[case(DNS_QTYPE_MX)] dns_mx_record mx_record;
[case(DNS_QTYPE_TXT)] dns_txt_record txt_record;
+ [case(DNS_QTYPE_RP)] dns_rp_record rp_record;
[case(DNS_QTYPE_AAAA)] ipv6address ipv6_record;
[case(DNS_QTYPE_SRV)] dns_srv_record srv_record;
[case(DNS_QTYPE_OPT)] dns_opt_record opt_record;