1- Is My DNS already configured?
When I open the file: /etc/network/interfaces
iface lo inet loopback
# The primary network interface
iface eth0 inet static
dns-nameservers 126.96.36.199 188.8.131.52
pre-up iptables-restore < /etc/iptables.up.rules
# dns-* options are implemented by the resolvconf package, if installed
Is my DNS servers already configured?
I tried to use the 184.108.40.206 and 220.127.116.11 as ns1 and ns2 nameservers under setnameservers of godaddy.com it returned: Invalid TLD.
2- Doubt about the IP that must go in NS1, NS2 addresses
I have some doubts about nameservers using Bind under ubuntu 12.04 under a dedicated server machine.
I need to create a script telling the ip address of the nameserver.
Suppose the ip address from the server machine is 18.104.22.168, should I add a ns entry like that?
ns1.adomain.com. IN A 22.214.171.124
ns2.adomain.com. IN A 126.96.36.199
What IP address must be put in?
I just have a dedicated server machine ip.
I don't know how to put these NS1, 2... ips etc.
Should they be the IP Address itself or I can add another IP? If I add another IP I think it's not correct because I just have one dedicate machine with a IP address.
I'm a bit confused about this.
1- My domain name was bought in GoDaddy.com how to point to they?
I bought my domain under Godaddy.com.
I know there is an area to set name servers, so I can put nameserver 1, nameserver 2, etc.. addresses.
I should put ns1.adomainexample.com ns1.adomainexample.com
My doubt is: If I configure a domain name server how will godaddy know the ns1.adomainexample.com is related to my machine?
For the last part you need to register your own nameservers with Go Daddy. Here are the steps to do so:
To Register Your Own Domain Hosts
In Host name, enter the host name you want to register.
NOTE: The value entered here will be appended to your domain name to create the host name. Do not use the 'www' prefix. Example: For the domain name coolexample.com, entering 'ns1' here results in ns1.coolexample.com.
In the Host IP fields, enter the two unique IP addresses you want to add to the host.
NOTE: Nameservers cannot share an IP address; therefore two unique IP addresses are required.
Once you do the above you can then set your domain to point to the custom nameservers you created. You will also need to add A records in your Zone file for both ns1 and ns2 using the same IP you used above.