My current setup:
- I don't have a static IP from my ISP, so I run my own ddns on a Google Cloud instance
- The ddns I'm running is a docker image from https://github.com/dprandzioch/docker-ddns, and I followed the instructions to configure the Google Cloud DNS
- The domain
foo.dyndns.domain.tldsuccessfully points to my public IP address
- At home, I have an Asus AC56U router with
dnsmasqrunning on it.
local.devrequests to my local webserver
- I've enabled port-forwarding for
port 80to my web-server
My dnsmasq configuration on my AC56U router
My DNS settings in Google Cloud DNS
ns.domain.tld. A 300 35.xx.xx.xx dyndns.domain.tld NS 300 ns.domain.tld
What currently works:
*.local.devrequests, successfully point to my webserver within my LAN network
foo.dyndns.domain.tldsuccessfully points to my webserver outside of my LAN
ping foo.dyndns.domain.tldreturns my public IP.
What I need
*.foo.dyndns.domain.tldto point to my webserver outside of my LAN network
ping test.foo.dyndns.domain.tldresults in
- I'd like it to happen automatically, so without updating NS records for every new project I start working on.
What's the point?
I'm a web- and mobile app developer, and I'd like to allow my clients to access my local dev-server. Unfortunately, my networking experiences are very limited.
What I tried so far
I tried updating my Google Cloud DNS with the following record, but without any success:
*.foo.dyndns.domain.tld CNAME 300 dyndns.domain.tld