gfwlist2dnsmasq icon indicating copy to clipboard operation
gfwlist2dnsmasq copied to clipboard

multiple dns

Open islercn opened this issue 6 years ago • 5 comments

the usage of multiple dns is allowed for each domain, so is it possible to add the feature?

islercn avatar Oct 30 '17 10:10 islercn

Technically no problem. But the problem is I do not have time doing this recently.

PR is welcomed.

cokebar avatar Nov 16 '17 11:11 cokebar

It would be great if the script can read "whitelist" part(lines begin with @@) and use default dns for them.

fanthos avatar Dec 23 '17 04:12 fanthos

@fanthos If these domains are not included in this gfwlist2dnsmasq rule file, default DNS set in dnsmasq will be used. So there's no need to proceed theses domains.

cokebar avatar Dec 23 '17 06:12 cokebar

some domains like dl.google.com is in the list and starts with @@, should use default dns server instead.

fanthos avatar Dec 23 '17 06:12 fanthos

@fanthos Please use this instead: https://github.com/felixonmars/dnsmasq-china-list/blob/master/google.china.conf refer to #5.

And process these rules from gfwlist is impossible, It will cause problems.

eg: share.dmhy.org @@|https://share.dmhy.org

In Gfwlist, http / https connection has different behaviors, while this is impossible for dnsmasq.

cokebar avatar Dec 23 '17 06:12 cokebar