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.

Add additional name server

Discussion in 'General Discussion' started by mschaffner, Jun 11, 2010.

  1. mschaffner

    mschaffner Registered

    Joined:
    Jun 11, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    We have added a 3rd name server to our cnofiguration. I need to add the NS record to all domains that are already setup in DNS. Is there a way to do that for all zone files, without having to manually go through and add the 3rd nameserver to all the zone files.
     
  2. blazenetworks

    blazenetworks Member

    Joined:
    May 21, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Belongs to : DNS

    In a shared hosting server which uses WHM/cpanel it is very easy to create your own name server entries.

    For this we need two unique ips and WHM access with access to edit dns zone. Then follow the process
    Lets consider we have purchased ips xx.xx.xx.xx & yy.yy.yy.yy

    - Login to WHM
    - Select "Change Site's IP Address" under IP Functions and then choose your site (e.g sitename.com). Change the sites ip address to a available ip (e.g: xx.xx.xx.xx)
    - Then go to "Edit DNS Zone" and select the domain name
    - Add to new A entries for ns1 and ns2
    give xx.xx.xx.xx for ns1 & yy.yy.yy.yy for ns2
    - Edit all the zone entries values for this site to point to the new ip xx.xx.xx.xx instead of the old one (where ever applicable).
    - Edit all the zone entries for this site to point to the new name server ns1.sitename.com instead of other values (where ever applicable).

    Then change the same in domains control panel to make the domain point to ns1.sitename.com & ns2.sitename.com

    Then wait for few hours before the domain propagation..

    From then on the site will have its own name server ips.
     
  3. mschaffner

    mschaffner Registered

    Joined:
    Jun 11, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    What was specified there does not apply to my situation. We already have 2 DNS servers in place and all zone files have references to those 2 DNS servers. We have added a 3rd DNS server and want to make sure every zone file has a reference to that 3rd DNS server, how can we do that without having to edit each individual zone file.
     
Loading...

Share This Page