I can't get Google's Dynamic DNS API to work for a wildcard domain.

I can get defined subdomains to update their IP just fine but I always get nohost when i attempt to update the wildcard's IP.

This page https://support.google.com/domains/answer/6147083?hl=en doesn't mention wildcard domains.

  • Please let me know how I can improve this question. Thanks! Feb 20 '15 at 14:38

The trick is to create a Synthetic Record for a any subdomain other that *.

Create the synthetic record for wildcard.domainname.com instead of *.domainname.com.

Then create a CNAME record (not synthetic) of the subdomain *.domain.com and point it to your synthetic records subdomain wildcard.domainname.com.

enter image description here

The placeholder subdomain wildcard could really be anything.

  • This also works to add a static ipv6 AAAA Record to wildcard.example.com, for example if you use tunnelbroker.net Jun 7 '16 at 4:04
  • Still working well in 2018
    – iHowell
    Jul 26 '18 at 6:12
  • Received error "Name conflict" as of September 2020 :(
    – sean2078
    Sep 13 '20 at 0:49
  • 2
    You can also setup the Dynamic DNS record for @, and then make the CNAME record from * to @ to avoid any 'middleman' subdomains. Jan 20 at 16:15
  • works in April 2021 with @GreysonParrelli suggestion :-)
    – patzm
    Mar 31 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.