I am testing a dynamic configuration of a nameserver on my local machine. I have a public domain (example.com) that I was trying to point its NS records to my private DNS but my registar does not support local ip addresses for NS records. I'm using the private DNS to map subdomains of example.com to internal ip addresses.
I'm hoping I can use dnsmasq have requests for example.com point at my custom namserver. I"m not sure how to configure it. Accepting other solutions than dnsmasq as well.
I have public domain
bind9 at local ip
I want to use the
bind9 instance on vagrant as a nameserver form
example.com that handles subdomain routing for
So on my local machine I want any requests for
*.example.com to hit the local bind9 instance and have that handle subdomains to local ip addresses