Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DNS: Zone file Removal

Posted on 2004-03-25
2
Medium Priority
?
252 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 80 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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

971 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