Solved

DNS: Zone file Removal

Posted on 2004-03-25
2
246 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

840 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