Wildcard subdomain not accessible

September 5, 2014 2.6k views

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
Using domain server:

Host not found: 3(NXDOMAIN)

When I try to ping it, I get something suspicious:

$ ping
PING ( 56(84) bytes of data.
--- ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3022ms

The host tries to resolve as Does this give any clues as to what might be going on?

  • Can you provide a screen grab of your DNS config manager settings.

  • Thanks for the response, moisey. I'm not sure which page you mean, specifically. Is it different than the screen I already linked to?

    Here's the only other DNS page I see in my dashboard.

    I should also note that as of this morning, running the previous host command gives me this output:

    $ host
    Using domain server:
    Address: 2400:cb00:2049:1::adf5:3a33#53
    Aliases: is an alias for has address

    However, trying to ping the subdomain gives me the same error as yesterday, and trying to run host without specifying the nameserver tells me the host is not found:

    $ host
    Host not found: 3(NXDOMAIN)

    Is this just DNS being really, really, ridiculously slow?

1 Answer

It looks like it was indeed "DNS being really, really, ridiculously slow." It now correctly resolves:

$ host is an alias for has address mail is handled by 20 mail is handled by 30 mail is handled by 10 mail is handled by 30 mail is handled by 20

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.

  • There was actually another issue as well, in that I didn't realize DNS for this domain was actually being managed by our registrar, GoDaddy, and the CNAME on their side pointing at DigitalOcean was incorrect (or rather, limited in scope), so wildcard subdomains weren't getting passed through properly.

    We fixed that about an hour ago, so hopefully things are all good now.

  • Hi there just wondering how you resolved this. I think I may be having the same issue.

  • I'm not entirely sure on the specifics of it (I'm not the admin of our GoDaddy account), but it might've been something to do with this:

Have another answer? Share your knowledge.