Setting nameservers???

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.

4, nslookup on my new ns1.domain.com IP did resolve new domain.com ip, but still if i try to do a digg on "ns1.domain.com" instead of new IP it will resolve to my old box domain.com ip.
So how do i add new nameserver entries to the godaddy domain control panel, IP cannot be added as nameserver ,it should be FQDN .

Anyone with possible fix?

 

 

 

 

Top