Solved

DNS: Zone file Removal

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 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.:

707 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

11 Experts available now in Live!

Get 1:1 Help Now