blissfulness be with me.
Friday, 12 February 2016
Just another script to auto-generate dnsmasq ipset rules using gfwlist.
Just another script to auto-generate dnsmasq ipset rules using gfwlist
Notification: Need python2, do not use python3
GFWList is composed by regular expressions, but dnsmasq rules is formed by domain names. So the conversion from GFWList to dnsmasq rule list is not a equivalent conversion. You might need to add extra rules or modify some converted rules.
Change this to your DNS server IP&port:
Change this to your ipset name:
Path to save you rule file:
Add your own extra domain here. One domain in a line. eg: