LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-29-2013, 12:09 PM   #1
bcbirk
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Rep: Reputation: Disabled
Disable all bind zones


We have an internal server that was partially set up by someone who knew way too much for his own good. He set it up do cache dns internally and be the soa for all the zones internally. It's become a real problem when updating dns for domains, and it's cached internally. Restarting named doesnt' flush that internal cache for some reason. I'd like to set up bind so it is simply caching, and remove all the zone files, if that's possible. If not , then I'd like to just disable bind completely and go back to how it was before it was set up. How do I go about doing that. If I simply shut off bind, then nothing will resolve internally. We can't access the internet. What config files do I need to modify to fix this.

Thanks.
 
Old 03-29-2013, 03:41 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you've never configured BIND before, the howto here is useful for getting a basic understanding. Once you have that, you can decide which will be better in your situation. Disabling that instance of BIND and using a different name server is easy enough - do you have another server you can point /etc/resolv.conf to?
 
Old 03-29-2013, 05:42 PM   #3
bcbirk
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks gilead. That link helped out a lot. I am waiting till most folks leave for the day so I don't screw up the internal network, but I think I got it figured out. I simply removed most of the zones from the named.conf file and that should take care of it. From my understanding, whatever isn't specified in a zone, will resort to using one of the other dns servers listed in the resolv.conf. In this case, I am using our isp's dns servers. Once I restart I'll know if it worked Wish me luck.
 
Old 03-31-2013, 02:19 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Doesn't sound like you need luck - have fun
 
Old 04-01-2013, 05:15 AM   #5
Ginola
Member
 
Registered: Sep 2012
Location: London
Distribution: CentOS, RHEL, Ubuntu
Posts: 73

Rep: Reputation: Disabled
Quote:
Originally Posted by bcbirk View Post
From my understanding, whatever isn't specified in a zone, will resort to using one of the other dns servers listed in the resolv.conf.
I think it will first try a resolution from what forwarders have been configured in the options section of the named.conf.

Just to be sure, its the named server not updating, and nothing to do with nscd, right?
 
Old 04-02-2013, 01:14 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Quote:
In this case, I am using our isp's dns servers.
That will only work if the required domains are publicly registered ie on the internet.
If they are internal to your company/LAN only, then you need an internal DNS server.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind - DDNS updates wrong zones response3 Linux - Networking 1 05-23-2007 06:25 PM
Bind doesn't show it's zones? freakin'me Linux - Server 2 03-03-2007 10:28 AM
BIND forward AD zones to DC psychobyte Linux - Networking 1 09-24-2006 11:46 AM
Tool to add domains/zones for bind? Moloko Linux - Networking 3 09-25-2005 09:11 AM
trying to setup dns zones - bind 9.2.4 LKWPeter Linux - Networking 1 12-01-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration