Solved

DNS: Zone file Removal

Posted on 2004-03-25
2
244 Views
Last Modified: 2013-12-27
Does anyone know how to remove a zone file from BIND. I have my internal DNS set up so that it can route internally, but when it needs to route externally it can contact a root server to resolve. One of the domains I had set up internally is moving away from me and I need to know how to remove the zone file and not have to wait 72 hours resolve the domain externally.
0
Comment
Question by:aabedi
2 Comments
 
LVL 7

Accepted Solution

by:
fim32 earned 20 total points
ID: 10688841
well, that's fairly simple.

there is a named.conf for your bind, i usually leave mine in /var/named

the zone is referenced in that conf file, something like:
zone "blah.com" in {
  ...
};

remove those lines, and restart named, you're done.

if your system is not reacting, make sure nscd (the name server cache daemon) is not running, or restart that too.

there is a file your zone lives in (referenced by the zone lines in named.conf) that you'll probably want to wipe, but named won't look at it unless it's in the named.conf file.
0
 

Author Comment

by:aabedi
ID: 10689669
Superb, thanks fim32, it worked a treat
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now