Discussion:
[Dnsmasq-discuss] Upstream DNS servers querying policy
Dev Sidious
2017-07-05 17:55:16 UTC
Permalink
Is it possible to setup *dnsmasq *to query the upstream servers in an
"--all-servers" fashion for for subdomain-1.my-domain.tld and
sequentially for subdomain-2.my-domain.tld (2.2.2.1 queried first, IF no
reply 2.2.2.3 queried next and so forth) ?

server=/subdomain-1.my-domain.tld/1.1.1.1
server=/subdomain-1.my-domain.tld/1.1.1.2
server=/subdomain-1.my-domain.tld/1.1.1.3

server=/subdomain-2.my-domain.tld/2.2.2.1
server=/subdomain-2.my-domain.tld/2.2.2.2
server=/subdomain-2.my-domain.tld/2.2.2.3

This is just a random example. What I'm curious to know is if it's
possible to define custom querying rules per domain with *dnsmasq*.

Thanks.
Simon Kelley
2017-07-08 21:22:33 UTC
Permalink
For query that's going to a subdomain, the only behaviour available is
that the first attempt at the query goes to one of the available servers
(it's not specified which one), and if the query is retried, it's sent
to all the available servers.

Cheers,

Simon
Post by Dev Sidious
Is it possible to setup *dnsmasq *to query the upstream servers in an
"--all-servers" fashion for for subdomain-1.my-domain.tld and
sequentially for subdomain-2.my-domain.tld (2.2.2.1 queried first, IF no
reply 2.2.2.3 queried next and so forth) ?
server=/subdomain-1.my-domain.tld/1.1.1.1
server=/subdomain-1.my-domain.tld/1.1.1.2
server=/subdomain-1.my-domain.tld/1.1.1.3
server=/subdomain-2.my-domain.tld/2.2.2.1
server=/subdomain-2.my-domain.tld/2.2.2.2
server=/subdomain-2.my-domain.tld/2.2.2.3
This is just a random example. What I'm curious to know is if it's
possible to define custom querying rules per domain with *dnsmasq*.
Thanks.
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Loading...