-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Hi,
In your documentation you refer to dnsmasq-like syntax :
"You can specify upstreams that will be used for specific domains using the dnsmasq-like syntax (see the documentation for the option --server here). This feature is intended for private nameservers which deal with intranet domains."
and this sentence in dsnmasq man page is interesting for me :
"For historical reasons, the pattern /.google.com/ is equivalent to /google.com/ if you wish to match any subdomain of google.com but NOT google.com itself, use /*.google.com/"
Could you make the necessary changes to support this? To be able to use internal DNS server for local private DNS, only for subdomains?
I want my domain.org to resolve to my external public ip, and only my services linked to a subdomain would use my internal DNS server.
So I could write something like this in Uptream DNS servers :
https://dns.quad9.net/dns-query
[/*.domain.org/]192.168.1.2
if 192.168.1.2 was the IP of my internal DNS server.
Thanks.