9

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.

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

2 Answers 2

14

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.

5
  • This also works to add a static ipv6 AAAA Record to wildcard.example.com, for example if you use tunnelbroker.net Jun 7, 2016 at 4:04
  • Still working well in 2018
    – iHowell
    Jul 26, 2018 at 6:12
  • Received error "Name conflict" as of September 2020 :(
    – sean2078
    Sep 13, 2020 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, 2021 at 16:15
  • works in April 2021 with @GreysonParrelli suggestion :-)
    – patzm
    Mar 31, 2021 at 12:28
0

You can leave the Google Dynamic DNS "Host name" field blank (empty), click save and it will function like a wildcard (*) for the Google Domain your configuring.

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.