Server not found after configuring digitalocean dns

October 12, 2016 84 views
DNS Ubuntu

I've tried following this guide but it doesn't work.

I wanted to point cruzgsworks.space, a domain which i registered in godaddy, to my droplet

I've taken screenshots of my configurations (zonefiles, nameservers, etc) in godaddy and digitalocean and uploaded it in my Ubuntu droplet which already has an apache2 server.

Is there something wrong with my current configuration or is there anything else that is missing?

Any help is greatly appreciated

1 Answer

Odd. I think you have everything set up correctly -- or, at least, functionally -- but it doesn't work anyway. I'm not sure why.

The screenshots show and whois cruzgsworks.space confirms that you've set it to use DigitalOcean's nameservers. However, the .space nameservers don't return any (NS) records for the domain. My guess is that you just have to wait and it will start working within the next couple hours.

$ dig +norecurse cruzgsworks.space @b.nic.space.

; <<>> DiG 9.10.3-P4-Ubuntu <<>> +norecurse cruzgsworks.space @b.nic.space.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 41607
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

; EDNS: version: 0, flags:; udp: 4096
;cruzgsworks.space.             IN      A

space.                  3600    IN      SOA     ns0.centralnic.net. hostmaster.centralnic.net. 3000224808 900 1800 6048000 3600

;; Query time: 1 msec
;; SERVER: 2a04:2b00:13cc::1:51#53(2a04:2b00:13cc::1:51)
;; WHEN: Wed Oct 12 02:18:26 UTC 2016
;; MSG SIZE  rcvd: 111

By the way, the CNAME and MX records you've created in GoDaddy's DNS manager effectively do not exist, because you've configured the domain to use DigitalOcean's DNS service. You should set the necessary records in DigitalOcean's DNS manager, or switch the domain to use GoDaddy's DNS somewhere in GoDaddy's domain settings.

  • I see. Thanks. I'll try waiting it out for a day. Hopefully it resolves soon.

    On the GoDaddy's DNS Zone File tab, is it okay if I remove all entries there right since - "I've configured the (cruzgsworks.space) domain to use DigitalOcean's DNS service"?

    • Yes, you can remove all the GoDaddy DNS records -- don't remove the nameserver settings elsewhere in the manager -- if you're happy with DigitalOcean's DNS setup. As i said before, the GoDaddy MX records and so forth didn't exist in DigitalOcean's DNS manager. If you want them to, you ought to fix that. Although it doesn't have any bearing on whether or not you delete them at GoDaddy.

Have another answer? Share your knowledge.