Open GoogleCodeExporter opened 9 years ago
I might be wrong, but it seems "all-servers" is the dnsmasq option you are
looking for.
Original comment by johnny.s...@gmail.com
on 17 Apr 2015 at 9:06
I will try it, however, as I understand the man page, "all-servers" does the
following in pseudo-code:
function resolve(address) {
res1 = dns1(address);
res2 = dns2(address);
res3 = dns3(address);
return earliest_reply_of(res1, res2, res3);
}
But I need to have the following behavior:
function resolve(address) {
res = dns1(address);
if ( res == 'server not found') {
res = dns2(address);
if (res == 'server not found') {
res = dns3(address);
}
}
return res;
}
I need this because providers' dns servers are "full" dns servers, so they are
returning both provider-specific addresses and all other addresses as well.
Therefore, If i use "all-servers", the system will mostly use the providers'
dns servers, since they are faster than google dns server, but they are hiding
some resources, so i won't solve my problem.
Original comment by DanilaGa...@gmail.com
on 18 Apr 2015 at 10:27
If you knew all the provider-specific domains, you could remove provider dns
servers from resolv.conf and then add:
server=/domain1/domain2/domain3/provider_dns
which instructs dnsmasq to resolve domain1, domain2 and domain3 using
provider_dns
Or perhaps you should ask this directly on the official mailing list:
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Original comment by johnny.s...@gmail.com
on 19 Apr 2015 at 5:11
Unfortunately, I do not know all of the of the provider-specific domains, but
will try this as workaround. Thank you!
Original comment by DanilaGa...@gmail.com
on 19 Apr 2015 at 8:02
Original issue reported on code.google.com by
DanilaGa...@gmail.com
on 17 Apr 2015 at 4:17