I have dnsmasq on my router set to use my own domain name internally
(let's just call it example.com)
I do have that same domain in a domain provider outside with DNS records.
What I'd like to do is forward outbound queries (meaning from inside my
home network and destined for dnsmasq normally) for certain subdomains
of my main domain to pass through and arrive at the external provider.
E.g. if I perform a dig on a normal host:
dig host.example.com
dnsmasq is going to respond like it normally does, looking through what
was loaded in the configuration files (I'm using a dhcp-hostsfile) and
return that info (which would end up being an internal record)
However, if I dig on a subdomain:
dig subdomain.example.com
I want to send that along to an upstream server.
To be more specific what I'm actually trying to do is reach TXT records
of my domain that are hosted at my domain provider's DNS while leaving A
queries local so I get my local IP addresses when I'm on an internal
machine. I would prefer not to copy the external TXT records internally
because they are SPF, DMARC and DKIM records so I'd rather just use the
existing ones.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss