Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple dns #18

Open
islercn opened this issue Oct 30, 2017 · 5 comments
Open

multiple dns #18

islercn opened this issue Oct 30, 2017 · 5 comments
Milestone

Comments

@islercn
Copy link

islercn commented Oct 30, 2017

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

@cokebar
Copy link
Owner

cokebar commented Nov 16, 2017

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

PR is welcomed.

@cokebar cokebar added this to the pendings milestone Nov 29, 2017
@fanthos
Copy link

fanthos commented Dec 23, 2017

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

@cokebar
Copy link
Owner

cokebar commented Dec 23, 2017

@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.

@fanthos
Copy link

fanthos commented Dec 23, 2017

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

@cokebar
Copy link
Owner

cokebar commented Dec 23, 2017

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants