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.

migration to a new server (DNS ISSUE HELP!!!!!!)

Discussion in 'Bind / DNS / Nameserver Issues' started by bsasninja, Jan 15, 2008.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    I want to migrate an account to a new server so I copied the backup and restored the account in the new server. But before changing the DNS I want to modify the DNS Settings at the old server to point the new one.

    So now I have this at OLD Server:

    @ 86400 IN SOA ns1.oldserver.com. server.oldserver.com. (
    2008011501 ; serial, todays date+todays
    86400 ; refresh, seconds
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds

    domain.com. 86400 IN NS ns1.oldserver.com.
    domain.com. 86400 IN NS ns2.oldserver.com.


    domain.com. IN A xxx.xxx.xxx.xx

    localhost.domain.com. IN A 127.0.0.1

    domain.com. IN MX 0 domain.com.

    mail IN CNAME domain.com.
    www IN CNAME domain.com.
    ftp IN A xxx.xxx.xxx.xx


    Where xxx.xxx.xxx.xx is the ip of the new server. Ok with this configuration when I ping the site it responds at the new server ip, also FTP responds with the new ip and if I do a telnet domain.com 25 I get the exim prompt at the new server, but I have issue with emails. Seems that they still are working at the OLD server.

    I tried with

    domain.com. IN MX 0 domain.com.

    and with

    domain.com. IN MX 0 xxx.xxx.xxx.xx.

    When I try to send a message to the domain, from any sever at the web I get a bounce back message that the domain or account doesnt exists or is missing the proper dns entries.

    The mail accounts are created in the new server, but seems that the issue is at the MX pointer in the OLD server.

    Any help of what could be causing this??

    Thank you!!
     
    #1 bsasninja, Jan 15, 2008
    Last edited: Jan 15, 2008
  2. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Partially fixed I changed the following

    mail IN CNAME domain.com.

    to:

    mail IN A xxx.xxx.xxx.xx

    Now emails can be delivered and they arrive at the new server. But, I can only see them through webmail.
    If I check through outlook seems that still checks the OLD server. :mad:

    But if you change the pop3 address to the ip address of the new server, then you can download the messages.

    Seems that a CNAME or something is missed somewhere..

    any help??

    Thanks
     
Loading...

Share This Page