Promoting slave to master DNS server with dynamic updates

Eric.BERTHIAUME.external at banque-france.fr Eric.BERTHIAUME.external at banque-france.fr
Thu Sep 11 08:48:47 UTC 2014


Hello DNS gurus,

New on the list, I’ve been tasked by my manager to revamp our dns infrastructure.  I think this list is the best place to get answers.

Bind 9.3.6-16 running on RHEL5.7

Right now everything run’s on manually editing zone files but we have recently integrated vmware orchestrator (automatic deployment of linux vm’s) in the mix and that complicates things for automated processes.  Add Autosys to this and you have one big messy DNS infrastructure and of course no team wants to change their work flows (classic).

So I’ve written a basic script that would allow everyone (admin’s, vmware, autosys) to use dynamic updates with nsupdate for all tasks.  Everything works dandy but a simple question remains:

If the primary goes down for whatever reason, how can we quickly continue to update our DNS records on the secondary?  What are the options?


-          Classic slave/master change manually editing the named.conf?  What happens to everything in the jnl file on the master if it crashes before the dump and zone transfer?  Lost?

-          Nsupdate special ninja trick?  Read something about updating the SOA through dynamic update but didn’t fully understand that process.

-          Pray that we get the primary up?

The last option would normally be the logical choice but like I said our DNS infrastructure is a mess and those autosys process control DNS records for their “failover” feature (yeah I know) so we need a super-lightning-fast switch if we do not want production to stop.

Of course the best solution would be something automatic but I haven’t seen anything anywhere.  If it’s manual so be it maybe I would be able to write a script that could be used by support and minimize human errors.
I’m already at least pushing for a more recent bind version and of course if a special feature exist (maybe I’ve missed it) that provides an easier solution that would be a super argument to push for something with more features.

Thanks in advance.

Eric

**************************************************************
Ce courrier électronique, y compris les pièces jointes, est à l'attention exclusive des destinataires désignés et revêt un caractère confidentiel.
Si vous recevez ce courrier électronique par erreur, merci d'en informer sans délai l'expéditeur et de supprimer son contenu et ses pièces jointes.

Le contenu de ce courrier électronique ne pourrait engager la responsabilité de la Banque de France que s'il a été émis par une personne dûment habilitée agissant dans le strict cadre des fonctions auxquelles elle est employée et à des fins non étrangères à ses attributions.

L'expéditeur de ce courrier électronique ne peut pas garantir la sécurité de l'acheminement par voie électronique et ne saurait dès lors encourir une quelconque responsabilité en cas d'altération de son contenu.

**************************************************************

This e-mail, attachments included, is intended solely for the addressees and should be considered as confidential.
Should you receive this message by error, please notify the sender immediately and destroy this e-mail and its attachments.

Banque de France cannot be considered as liable for the content of this message unless the sender has been duly authorized and has acted strictly in the course of his/her tasks as an employee.

The sender of this e-mail cannot ensure the security of its electronic transmission and consequently will not be liable should its content be altered.
**************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140911/c1ada6e6/attachment.html>


More information about the bind-users mailing list