Question

Wildcard subdomain not accessible

  • Posted on September 5, 2014
  • atraverAsked by atraver

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?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.