From 9c7015ecaacff859c7ba94ccadd49b4e9a5cd002 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Sat, 25 May 2013 14:05:22 +0200 Subject: idl: Add DNS HINFO record support Not sure if we need this, bug samba.org specifies it, so this can cause ANY queries against samba.org to fail. Signed-off-by: Kai Blin Reviewed-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Sun May 26 20:05:38 CEST 2013 on sn-devel-104 --- librpc/idl/dns.idl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl index 5fc4ba4448..d247e0e67d 100644 --- a/librpc/idl/dns.idl +++ b/librpc/idl/dns.idl @@ -151,6 +151,13 @@ interface dns uint32 minimum; } dns_soa_record; + typedef [public] struct { + [value(strlen(cpu))] uint8 cpu_length; + [charset(DOS)] uint8 cpu[cpu_length]; + [value(strlen(os))] uint8 os_length; + [charset(DOS)] uint8 os[os_length]; + } dns_hinfo_record; + typedef [public] struct { uint16 preference; dns_string exchange; @@ -225,6 +232,7 @@ interface dns [case(DNS_QTYPE_CNAME)] dns_string cname_record; [case(DNS_QTYPE_SOA)] dns_soa_record soa_record; [case(DNS_QTYPE_PTR)] dns_string ptr_record; + [case(DNS_QTYPE_HINFO)] dns_hinfo_record hinfo_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; -- cgit