I'm writing a dynamic DNS service which should return results based on a db query.
My DNS server is written in node.js and it queries the database for the actual IP.
My domain is hosted on Route53, but I'm not sure how to point all sub-subdomains to my server.
so basically, I have example.com registered under route53, and I would like to point all *.dyn.example.com to my DNS server (ec2 instance) so it will resolve it to the right IP.
I've tried to create a new name server entry, but route53 does not allow wildcard for it. I also have a lot of other subdomains there, which is why I want to only point *.dyn.example.com to my DNS server rather than *.example.com.
Any help is appreciated...