Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 21:17:54

Author Topic: How to one change IP on DNS server on all domains ?  (Read 1969 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
I need to change IP on my DNS servers so all DNS configs should be changed. How can I do this ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: How to one change IP on DNS server on all domains ?
« Reply #1 on: 2013-07-24, 03:47:54 »
There was nice thread about this:

http://forum.lxcenter.org/index.php?t=m ... #msg_69714

But this reloads just whole templates, and if customer have his custom entries then they are lost !
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: How to one change IP on DNS server on all domains ?
« Reply #2 on: 2013-07-24, 06:00:52 »
A quick sql query and then a fixdns script should do the trick.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: How to one change IP on DNS server on all domains ?
« Reply #3 on: 2013-07-24, 22:15:59 »
Quote from: "chrisf"
A quick sql query and then a fixdns script should do the trick.

It's all encrypted inside database !
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: How to one change IP on DNS server on all domains ?
« Reply #4 on: 2013-07-24, 23:13:41 »
Quote from: "Spacedust"
Quote from: "chrisf"
A quick sql query and then a fixdns script should do the trick.

It's all encrypted inside database !
Yes I have run into that as well.

My plan for attack of this issue would be:
Custom script calling in kloxo includes,
loop through database
use lxadmin functions to decrypt data
regex ip replacement or simple string replace may be enought
function to encrypt
replace data
loop until done with domains

I have not researched this issue spacedust, but that is how I would write a quick fix for your problem - you must remember: if kloxo encrypts it, it can decrypt it.  I do not know these functions and would have to do more scouring through code.

I know that doesn't help much, but it may give you some direction.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: How to one change IP on DNS server on all domains ?
« Reply #5 on: 2013-07-24, 23:21:56 »
Mustafa please add update function to /script/simplelist !
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.041 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM