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

Safe list #15

Closed
pexcn opened this issue Jun 3, 2019 · 0 comments
Closed

Safe list #15

pexcn opened this issue Jun 3, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@pexcn
Copy link
Owner

pexcn commented Jun 3, 2019

Based on gfwlist.txt:

# 127.0.0.1:5300 is non-polluting DNS port
sed -e 's/^/server=\//' -e 's/$/\/127.0.0.1#5300/' gfwlist.txt > safelist-exp.conf
sed -i "1i#\n# Safe list (experimental)\n#\n# Update: $(date +'%Y-%m-%d %T')\n#\n" safelist-exp.conf

Put it into /etc/dnsmasq.d folder.

@pexcn pexcn added the enhancement New feature or request label Jun 3, 2019
@pexcn pexcn closed this as completed Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant