]> granicus.if.org Git - pdns/commitdiff
implement MINFO. Why you ask? MINFO is one of the original RFC1035 types, and can...
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 13 Jun 2013 09:59:29 +0000 (11:59 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 13 Jun 2013 09:59:29 +0000 (11:59 +0200)
pdns/dnsrecords.cc
pdns/dnsrecords.hh

index c532e1af73bc989c7cd8568501a255cd925b08a4..91a2a0173664c0bbc1e978a677d39e992c1c7715 100644 (file)
@@ -44,6 +44,7 @@ boilerplate_conv(NS, ns_t_ns, conv.xfrLabel(d_content, true));
 boilerplate_conv(PTR, ns_t_ptr, conv.xfrLabel(d_content, true));
 boilerplate_conv(CNAME, ns_t_cname, conv.xfrLabel(d_content, true));
 boilerplate_conv(MR, ns_t_mr, conv.xfrLabel(d_alias, true));
+boilerplate_conv(MINFO, ns_t_minfo, conv.xfrLabel(d_rmailbx, true); conv.xfrLabel(d_emailbx, true));
 boilerplate_conv(TXT, ns_t_txt, conv.xfrText(d_text, true));
 boilerplate_conv(SPF, 99, conv.xfrText(d_text, true));
 boilerplate_conv(HINFO, ns_t_hinfo,  conv.xfrText(d_cpu);   conv.xfrText(d_host));
index 719f55a3008031da41cb377c561e1235275a33d8..b9020a61b8b0315ce9574071ac040566231aeba8 100644 (file)
@@ -206,6 +206,15 @@ private:
   string d_alias;
 };
 
+class MINFORecordContent : public DNSRecordContent
+{
+public:
+  includeboilerplate(MINFO)
+
+private:
+  string d_rmailbx;
+  string d_emailbx;
+};
 
 class OPTRecordContent : public DNSRecordContent
 {