Hi, Another option is to follow the route I took, where you can add an additional field in to the database table, for a status of the domain. In your search statements in the PDNS config you can add the condition. For example, new entries are added with A for active, if you wanted to add a domain that didn't resolve you could mark the domain with H for hidden and modify the search to check that the domain/zones entries are marked as A..
I did send out an example config etc, some time ago on the list.. Regards Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bert hubert Sent: 21 August 2006 06:48 PM To: Richard McLean Cc: pdns-users@mailman.powerdns.com Subject: Re: [Pdns-users] Is it possible to un-resolve a domain? On Tue, Aug 22, 2006 at 02:42:30AM +1000, Richard McLean wrote: > Not sure if this is a wacky idea or not, but I was wondering if > it's possible to add a domain to our DNS to make it NOT resolve? > I know it's possible to set it to resolve to a bogus IP, but I'd like > for it to give an NXDOMAIN rather than that. Is that possible? Interesting idea! An entirely empty zone would achieve most of that, consisting only of a SOA record and possibly some NS records. If you do this for the zone 'something.com', 'www.something.com' will get an NXDOMAIN. However, a query for the A record of 'something.com' with get a NOERROR with a SOA attached, which behaves almost like an NXDOMAIN in actual effect. To only blank out www.something.com, add a 'www.something.com' empty zone, which would then get the NOERROR with the SOA attached. Would this be good enough for you? Bert -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users Nashua Broadband is a Microsoft Certified Partner Nashua Mobile (PTY) LTD Electronic Mail Notice: Click http://www.nashuamobile.com/nm_portal.asp?link=aboutus_terms&siteid=ver5 or send a mailto: [EMAIL PROTECTED] Nashua Broadband VANS: VLS 40/0312 _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users