Solved

DNS: Zone file Removal

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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.

776 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