]> granicus.if.org Git - pdns/commitdiff
reimplement MR records
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 8 Apr 2007 21:02:04 +0000 (21:02 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 8 Apr 2007 21:02:04 +0000 (21:02 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1019 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnsrecords.cc
pdns/dnsrecords.hh

index b3df250c0d86abbbbb377377b5e0a57318c6c1e9..524336049bf5624f3b81a93a26674a067e87b4e9 100644 (file)
@@ -175,6 +175,7 @@ string NSECRecordContent::getZoneRepresentation() const
 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, false));
 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 69b1235f1fd7d7be169c03c33f0614993c7ff9c6..d36002104f9759182c0e536e08b5fcff062d5763 100644 (file)
@@ -133,6 +133,15 @@ private:
   string d_content;
 };
 
+class MRRecordContent : public DNSRecordContent
+{
+public:
+  includeboilerplate(MR)
+
+private:
+  string d_alias;
+};
+
 
 class OPTRecordContent : public DNSRecordContent
 {