Strip subdomains with DNS resolver or forwarder
-
What is discussed in Wildcard DNS entries is great, but only gets me half way to what I need. Does anyone know of a good way to do wildcard DNS with dynamic IPs?
Right now I have to do a workaround whereas *.fake.dyn.dns is redirected to an unused IP (such as 10.255.255.2 on a 10.0.0.0/24 network).
Than I have to do a NAT entry to redirect traffic destined to 10.255.255.2 to an alias of real.dyn.dns.
The problem, besides needlessly using NAT, is that with this workaround I can't redirect *.real.dyn.dns, otherwise alias for NAT would redirect it back to 10.255.255.2...So, in summary. does anyone know of a good way to return IP of real.dyn.dns for any of it's subdomains (*.real.dyn.dns)? I really appreciate any feedback.
Thanks,
Gene -
That's up to your Dynamic DNS provider. Many of them offer an option to do that, it's something you'd have to enable on their side, or in the Dynamic DNS client options.