1833004 Members
2690 Online
110048 Solutions
New Discussion

automated dns admin

 
Mark Greene_1
Honored Contributor

automated dns admin

does anyone have any tools they use to automate the administration of DNS on unix? Anytime that offices get moved, we have to do some fairly major edits to our DNS files, and I am hoping that someone has something to automate the entry of names and IPs, and updates the reverse databases before I go off and reinvent the wheel.

thanks!
mark
the future will be a lot like now, only later
8 REPLIES 8
Scott Van Kalken
Esteemed Contributor

Re: automated dns admin

hmmmmm

when I was administering a namespace we used some C programs called "get" and "put" that would get info or put info straight into a zonefile (in the correct format).

I'm not sure if they're part of the bind distribution or not.

We just ran scripts for major updates that used these. I'll have a hunt around.

Scott.
Wodisch
Honored Contributor

Re: automated dns admin

Hello,

"hosts_to_named" does most of those tasks...
John Bolene
Honored Contributor

Re: automated dns admin

hosts_to_named is a beautiful thing

keep an updated hosts file and a hosts_to_named file and run it, let all the other machines sync to the primary dns machine, ie, put them as secondaries

do a man hosts_to_named
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Mark Greene_1
Honored Contributor

Re: automated dns admin

I have about 2,500 entries in my primary dns file right now. Putting all these entries in the host table is not an option.

mark
the future will be a lot like now, only later
Christopher Caldwell
Honored Contributor

Re: automated dns admin

Mark Greene_1
Honored Contributor

Re: automated dns admin

Christopher,

thanks for the links, I will check them out.

mark
the future will be a lot like now, only later
Wodisch
Honored Contributor

Re: automated dns admin

Hello again,

it needn't be *the* hosts-files, it is a *hosts-like* file ;-)
And 2500 lines in text-file are not dangerous for HP-UX...

Just my $0.02,
Wodisch
Mark Greene_1
Honored Contributor

Re: automated dns admin

Wodisch,

my mistake then, as this is an entirely different matter. I will look into this.

thanks for the follow-up,
mark
the future will be a lot like now, only later