I recently built a dedicated server with Ubuntu 16.04 and the only thing left to do is set the DNS/Nameservers on it to start hosting other domains on it.
I'm getting really confused about what to do here.
------------ What I've Done So far
I created an account with EasyDNS to use as my host DNS. I added an A record in this account to point to my server.
dns-nameservers 111.222.333.444 to the
/etc/network/interfaces file. I noticed my interface has this line:
iface p6p1 inet static and not the
eth0 I see on other articles.
I added to the
/etc/resolv.conf/head the 3 nameservers that were assigned to me through EasyDNS, after rebooting the server, these name servers showed in
Altered the line in
111.222.333.444 server.easydnsdomain.com server
I even installed and ran ddclient, even though I don't think thats needed since I have a static IP.
-------------Testing my domains
I tried adding some domains to see if it would work
I changed one domain's nameservers to my EasyDNS nameservers, when this didn't work I added in the EasyDNS records an A record from my domain to my servers IP
On a seperate domain I left nameservers as default, went to advanced DNS and added an A record pointint to my easyDNS nameservers IP. I also tried just adding an A record pointing to my server.
When I ping these domains I get
unknown host example.com . When I enter command
host example.com I get
example.com not found: 5(REFUSED)
Any thoughts on what I missing or done wrong? Thanks for the help!