Skip to main content

Change name and IP of DNS Only server

Comments

5 comments

  • andrew.n
    I remember there was a script to replace the old IP with the new one everywhere at least on a cPanel server but I don't recall it now. I would check the following files: /etc/ips /var/cpanel/mainip /etc/hosts Also make sure you do restart network with ipaliases. Furthermore BIND uses different format than PowerDNS just to note.
    0
  • sozotech
    Thanks for the tips. My second go round was successful.
    0
  • ffeingol
    @sozotech As we're going to be doing this in a week or two, what else did you have to do?
    0
  • sozotech
    @sozotech As we're going to be doing this in a week or two, what else did you have to do?

    Really not much else. My initial process would have worked, but had to clean up all those bad zone files so PowerDNS would load and then also re-install the cPanel service SSL certificates to get into the WHM. I am using FleetSSL DNSONLY - Free SSL for cPanel" DNSONLY using Let's Encrypt" I did also make sure the files @andrew.n mentioned were updated as well. Best regards, Eric
    0
  • cPanelJohn
    Hello, I am happy to see this has been addressed. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.