HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Dns-Bind multiple zones modification (http://www.howtoforge.com/forums/showthread.php?t=54556)

spokke 17th October 2011 13:41

Dns-Bind multiple zones modification
 
Hi,

i've 2 ispconfig up and runnig, i need to modify the TTL value of all the dns zones managed by my 2 ispconfig servers, if i modify the ttl value inside the mysql the bind zones files doesn't changes, how can i do a multiple modification on the db and zones files correctly?

Tanks

Spokke

till 17th October 2011 13:56

You have to set the database field status to 'u' in the zones where you modified the ttl.

spokke 17th October 2011 14:04

Quote:

Originally Posted by till (Post 265499)
You have to set the database field status to 'u' in the zones where you modified the ttl.

Hi,

i don't find the field "status" in the dns_rr table...

thanks

Spokke

till 17th October 2011 14:15

Ok, I've misread your post. I thought you use ispconfig 2.

For ispconfig 3, see here:

http://www.howtoforge.com/forums/sho...16&postcount=2

spokke 17th October 2011 14:30

Quote:

Originally Posted by till (Post 265502)
Ok, I've misread your post. I thought you use ispconfig 2.

For ispconfig 3, see here:

http://www.howtoforge.com/forums/sho...16&postcount=2

Thanks but I think that this is not the solution to my problem: (

I think I have omitted some important information:
1. The two servers are not master / slave but a standalone
2. each server has its DNS services, mail, web ect ...
3. I think the sync tools you suggested are not suitable to my problem, most are not even present in the ispconfig installation directory on the servers.

ispconfig version is 3.0.3.3

many thanks for your patience: D

Spokke

till 17th October 2011 15:04

This was the solution :)

1) Good to know. But for this makes no difference for the sync tools.
2+3) The dns sync tools are suitable and will work for your problem.

spokke 17th October 2011 15:28

Quote:

Originally Posted by till (Post 265507)
This was the solution :)

1) Good to know. But for this makes no difference for the sync tools.
2+3) The dns sync tools are suitable and will work for your problem.

IT WORKS!

I performed these steps:

1. downloaded ispconfig via svn , copied the files as you suggested in the post

2. logout and re-login ispconfig panel, appeared the new entry under "tools"

3. using PHPMyAdmin I've changed the values ​​of ttl running "update dns_soa set ttl = 28800 where ttl = 3600" on the ispconfig db

4. I've run the Resync menu and....

..after a few seconds the bind zones files have been changed correctly :D

Many thanks for your help and many compliments for the wonderful job you did with ispconfig!

Spk


All times are GMT +2. The time now is 14:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.