]> git.ipfire.org Git - thirdparty/pdns.git/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)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Fri, 14 Jun 2013 09:29:01 +0000 (11:29 +0200)
pdns/dnsrecords.cc
pdns/dnsrecords.hh

index 6716cd0f2efe23de9df695b879acd59eafe4c2a3..c82035df429a175f99c9ba0c884613c3f2d8bfc7 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 63d140cb3d028f7375733625fabc3461fc048741..86acb38790fe31e56865fd746a8dbfd10b484721 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
 {