Index: /trunk/pdns/pdns/packethandler.cc
===================================================================
--- /trunk/pdns/pdns/packethandler.cc (revision 1053)
+++ /trunk/pdns/pdns/packethandler.cc (revision 1054)
@@ -276,4 +276,10 @@
       if((p->qtype.getCode()==QType::ANY || rr.qtype==p->qtype) || rr.qtype.getCode()==QType::CNAME) {
 	rr.qname=target;
+
+	if(d_doFancyRecords && p->qtype.getCode()==QType::ANY && (rr.qtype.getCode()==QType::URL || rr.qtype.getCode()==QType::CURL)) {
+	  rr.content=arg()["urlredirector"];
+	  rr.qtype=QType::A; 
+	}
+
 	r->addRecord(rr);  // and add
 	if(rr.qtype.getCode()==QType::CNAME) {
