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.

Fixing DNS Zone Entries???

Discussion in 'Bind / DNS / Nameserver Issues' started by poprulz, Jan 8, 2008.

  1. poprulz

    poprulz Member

    Joined:
    Oct 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    This is the exact scenario
    I have got a dedicated server with cpanel/whm hosting just 1 single domain.The domain is registered with godaddy and with custom nameservers given by my host.

    Now i moved my server to a new host, and they are not willing to add entries to their nameserver for my domain which means i should be running my own nameservers.

    How do i go about doing this? these are few things i have done so far.

    My main ip : hostname.domain.com
    1 dedicated IP to my domain.com
    ns1.domain.com and ns2.domain.com are added each with 1 ip

    1. Resolver Conf
    Edited, added my 2 new ips (primary & secondary) of ns1 and ns2 and tertiary that of my provider nameserver ip.
    2.Edited DNS Zone entries manually and this is how it looks like

    =>DNS Zone for domain.com with ns1 and ns2, A and MX record with CNAME for services
    =>ns1.domain.com has NS entries, A record for the ip
    =>ns2.domain.com - same
    =>hostname.domain.com - NS entries and A record for the main ip

    3 Resrted BIND
    CHECKED
    cat /etc/nameserverips
    cat /etc/resolv.conf
    cat /etc/wwwacct.conf
    cat /etc/named.conf
    cat /etc/hosts
    Everything looks fine.

    Now I was doing a digg using nslookup on my new ns1.domain.com (IP) and it still points to my old domain.com IP

    how do I fix this?

    Am i on the right path? Please help.
     
  2. poprulz

    poprulz Member

    Joined:
    Oct 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    the nslookup looks fine, i can resolve my domain.com from the ns1 and ns2 server ips.

    Now th next step is to add the nameserver to my godaddy domain control panel, but my old server is still up and has ns1 and ns2 nameservers running. so still my ns1.domain.com and ns2.domain.com is redirected to my old box.

    I can't add IPs of the new nameservers i created in godaddy, instead i should be adding a FQDN. BUt if i add ns1.domain.com and ns2.domain.com it will resolve to my old box ips and not new ones.

    I can't figure the fix.
     
Loading...

Share This Page