Automatic removal of DNS record from Secondary Bind Server.

Jeff S. Spofford jspofford at hypercon.com
Wed Jun 16 21:52:10 UTC 1999


Thanks for writing back,

The secondary server updates/removes records within a domain file just fine
- It is the actual domain file (zone file) itself that I want to have
removed automatically  from the /var/named directory and from named.conf
when I completely remove a domain from my primary server.   I'm sorry I
didn't use the right terminology (you just get used to telling the my
co-workers how it works, and it blows up in my face when I need help :-) )

But anyway - Do you know of a way that this can happen?


Jeff Spofford
System Operations
Hypercon FirstWorld
713/528-2400 x.302

http://help.hypercon.com <http://www.hypercon.com> 
Internet business solutions that make sense.


`A society that will trade a little liberty for a 
little order will lose both, and deserve neither' 
- Thomas Jefferson 


-----Original Message-----
From:	Barry Margolin [mailto:barmar at bbnplanet.com]
Sent:	Wednesday, June 16, 1999 4:17 PM
To:	bind-users at isc.org
Subject:	Re: Automatic removal of DNS record from Secondary Bind
Server.

In article <F7E91063E41FD3119D1200A0C949700871A2 at plutonium.hypercon.com>,
Jeff S. Spofford <jspofford at hypercon.com> wrote:
>I run two DNS servers on RedHat Linux 5.2. (A primary and secondary server)
>Right now, when I remove a domain out of dns on the primary server, I must
>log on to the secondary server, and manually remove the record from it.
>
>Is there a way that anyone knows of that I can set up bind on my primary
>server so that it automatically removes the record from my secondary server
>when I remove a it from the primary?

It should happen automatically.  That's the whole point of secondary
servers.

Are you incrementing the serial number on the primary when you do this?
The secondary server should automatically update its copy of the zone when
it notices that the serial number has increased.  The Refresh time in the
SOA record specifies how often it will check the primary to see if the
serial number has changed (if you use BIND 8 the master server will send a
NOTIFY message to the slave servers, so that it will happen even sooner).

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the
group.



More information about the bind-users mailing list