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.

How to apply a DNS ?

Discussion in 'Bind / DNS / Nameserver Issues' started by Julien PHAM, Jul 10, 2009.

  1. Julien PHAM

    Julien PHAM Active Member

    Jul 9, 2009
    Likes Received:
    Trophy Points:

    I have a domain name on a previous server. Now I rent a CPanel server. I have created an account with this same domain name.

    And so CPanel created a DNS zone for this domain.

    But on my registrar, the DNS zone is still on the old server, and I cannot move it to the new one, as the AFNIC (this is a .fr) refuses the move, probably because the BIND infos do not match the new server.

    So how can I do to apply the BIND/DNS info for my new server? Is this done automatically, and so I just have to wait? Or do I have to stop the bind service on the old server before?

    I need my BIND to be on the new server "before" moving the DNS from the old one to the new one...

  2. Spiral

    Spiral BANNED

    Jun 24, 2005
    Likes Received:
    Trophy Points:
    You just need to add the DNS server "A" entries in the zone file on the new server so that they can pull the resolution for the new DNS server IPs.

    It's a common check a lot of registars are using these days ...

    You could do this from WHM in "Edit a DNS Zone" or from the SSH shell:
    # cd /var/named
    # pico [b][/b].db
    # service named restart
    While editing the zone file in pico (or VI *my personal choice*),
    you need to add "A" records for your DNS servers.
    ns1 (or whatever you call your DNS server)  IN A  x.x.x.x
    ns2  IN A y.y.y.y

Share This Page