[Pdns-users] Is it possible to un-resolve a domain?
bert.hubert at netherlabs.nl
Mon Aug 21 16:47:46 UTC 2006
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?
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
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?
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
More information about the Pdns-users