The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SPF records. Misallocation after moving account

Discussion in 'General Discussion' started by speckados, Dec 1, 2009.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Leave the original, not the destination server.

    Problems.
    The migrated accounts retain the IP of the machine is old and not new
    The accounts have as the shared IP and not IP or interface eth0: 0

    Are there any script to correct SPF records in a machine?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Are you looking to replace the old IP with the new one in the DNS zone files? If yes, do the following:

    replace "OLDIP" "NEWIP" -- /var/named/*.db
    service named restart

    It will replace the oldIp with the new one in all the zone files. If you are looking for something else, I suggest you to explain your question a bit more.
     
  3. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Thanks for tips..

    1.- replace it's interesinting tooll of... mysql (best other solution wiht perl, awk)
    2.- I'm looking for CPANEL solution. Not a Tech Solution.
    3.-Also I like any guy of Cpanel's team. read... I work wiht cpanel since 2003 and there any problems... all times problems...

    A nice day.
     
  4. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    You can remove the current SPF by uninstalling and reinstalling it using cPanel's SPF script.

    /usr/local/cpanel/bin/spf_uninstaller username
    /usr/local/cpanel/bin/spf_installer username

    'username' is the cPanel username of the account.
     
Loading...

Share This Page