HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   DNS 2 Debian servers (http://www.howtoforge.com/forums/showthread.php?t=60913)

madmac007 11th March 2013 22:41

DNS 2 Debian servers
 
Hi all,
built 2 dns servers according to this howto
http://www.howtoforge.com/how-to-run...debian-squeeze, and
This howto" http://www.howtoforge.com/perfect-se...er-ispconfig-3 "

In my Test environment ( ESXi 5 VMware server ), everything works great, creating zones on master, are replicated to secondary.

So now when I have to reset IP address (real external IP`s )on the two server, the replication fails.
I have edited the /etc/hosts files to show now correct external IP on both machines.

What else do I need to do to bring this out of test environment to go " Live "
with external IP address`s

I am guessing its a mysql problem?
Thanks all
madmac

madmac007 15th March 2013 21:39

wot no reply?
 
Cummon peeps,
Some one must know howto revert from the testing IP install to static ip.

madmac007 16th March 2013 23:16

Got it
 
Well, figured it out

Basicall just re-run the items below but change the test IP address`s for real ones.
and replacee fake server name with real ones in mysql and /etc/hosts file.
Also rerun this
echo my.example.com > /etc/hostname
/etc/init.d/hostname.sh start


to change the mysql:
mysql -u root -p

On the MySQL shell, run the following queries:

CREATE USER 'root'@'1.2.3.5' IDENTIFIED BY 'myrootsqlpassword';
GRANT ALL PRIVILEGES ON * . * TO 'root'@'1.2.3.5' IDENTIFIED BY 'myrrootsqlpassword' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

CREATE USER 'root'@'myserver.com' IDENTIFIED BY 'myrootsqlpassword';
GRANT ALL PRIVILEGES ON * . * TO 'root'@'myserver.com' IDENTIFIED BY 'myrootsqlpassword' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

Thank you to all at this excellent site


All times are GMT +2. The time now is 18:59.

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