How to use custom NS Records?

Discussion in 'Site & Server Administration' started by himtuna, Dec 29, 2010.

  1. #1
    Hi,
    How do I create NS records for my domain so that I use.
    ns1.mydomain.com
    ns2.mydomain.com

    My domain is registered with name.com and they are allowing me to register name servers and there is one option to create NS record also.

    These servers will be pointing to dreamhosts NS ip addresses.

    Can you please guide, because I am not getting any success.
     
    himtuna, Dec 29, 2010 IP
  2. aassociatehit

    aassociatehit Well-Known Member

    Messages:
    1,778
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    140
    #2
    take two usable IPs from your server, and create NS in name.com account, than add DNS record in your whm for those NS with assigned IP.

    NS takes time to update, so it might take around 24-48 hours before you ping them and check if they are working
     
    aassociatehit, Dec 29, 2010 IP
  3. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #3
    zacharooni, Dec 30, 2010 IP
  4. BigBoxHost

    BigBoxHost Well-Known Member

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #4
    Add host name server as ns1.ns1.mydomain.com pointing to first IP and

    ns2.mydomain.com pinting to second ip at your domain reistrar and now add namveserver at your nameserver field.
     
    BigBoxHost, Dec 31, 2010 IP
  5. himtuna

    himtuna Member

    Messages:
    225
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #5
    I tried doing that.
    ns1.mydomain.com will be created only if I use name.com NS records (ns1.name.com)
    If I change the NS records with my custom( ns1.mydomain.com) , then all the records will not work.
     
    himtuna, Dec 31, 2010 IP
  6. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #6
    You may need to change your NS records on your server to point:

    Remove existing records for ns1, and ns2, then re-add them, if possible edit /var/named/yourdomain.com.db directly, set the $TTL to 300 change the serial to today 2011011301 and change these A records, and NS records:

    ns1 300 IN A NS1_IP
    ns2 300 IN A NS2_IP

    yourdomain.com. IN NS ns1.yourdomain.com.
    yourdomain.com. IN NS ns2.yourdomain.com.

    Then, try to re-register your nameservers at your registrar.
     
    zacharooni, Jan 13, 2011 IP
  7. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215