I’ve gone through the subdomain tutorial to try to get wildcard subdomains working for my domain. My Droplet’s DNS page looks like this. However, when I drop into a terminal session and try to look up any subdomain (e.g., “foo”), I get the following error:
$ host foo.hobolabs.com ns1.digitalocean.com
Using domain server:
Name: ns1.digitalocean.com
Address: 173.245.58.51#53
Aliases:
Host foo.hobolabs.com not found: 3(NXDOMAIN)
When I try to ping it, I get something suspicious:
$ ping foo.hobolabs.com
PING foo.hobolabs.com.com (54.183.52.48) 56(84) bytes of data.
^C
--- foo.hobolabs.com.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3022ms
The host tries to resolve as foo.hobolabs.com.com. Does this give any clues as to what might be going on?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It looks like it was indeed “DNS being really, really, ridiculously slow.” It now correctly resolves:
$ host foo.hobolabs.com
foo.hobolabs.com is an alias for hobolabs.com.
hobolabs.com has address 107.170.239.65
hobolabs.com mail is handled by 20 alt2.aspmx.l.google.com.
hobolabs.com mail is handled by 30 aspmx2.googlemail.com.
hobolabs.com mail is handled by 10 aspmx.l.google.com.
hobolabs.com mail is handled by 30 aspmx3.googlemail.com.
hobolabs.com mail is handled by 20 alt1.aspmx.l.google.com.
DigitalOcean’s DNS service recently experienced an issue that caused DNS records to take longer than normal to propagate completely. It sounds like you may have been affected. This issue should now be resolved. If you see any further issues with DNS propagation, please open a support ticket so the team can investigate the issue.
Thanks for your patience, and sorry for any inconvenience.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.