SmartDNS GFWList Save

GFWList for Smartdns to solve dns poisoning

Project README

GFWList for Smartdns

Usage

  1. Download Conf:
curl https://raw.dov.moe/Apocalypsor/Smartdns-GFWList/master/smartdns_gfw_domain.conf > /etc/smartdns/smartdns_gfw_domain.conf
  1. Add it to your smartdns configuration:
conf-file /etc/smartdns/smartdns_gfw_domain.conf

Docker for Overture

GFW List and China IP List as well as Overture will be automatically updated!

Usage:

  1. Download docker-compose.yaml
  • For Chinese users:
curl https://raw.dov.moe/Apocalypsor/SmartDNS-GFWList/master/docker/docker-compose-cn.yaml > docker-compose.yaml
  • For overseas users:
curl https://raw.githubusercontent.com/Apocalypsor/SmartDNS-GFWList/master/docker/docker-compose.yaml > docker-compose.yaml
  1. Modify docker-compose.yaml: referring to the file comment

  2. Run Docker (Running at :53535 by default)

docker-compose up -d

Upstream

  1. Download docker-compose.yaml
curl https://raw.githubusercontent.com/Apocalypsor/SmartDNS-GFWList/master/docker/upstream.yaml > docker-compose.yaml
  1. Run Docker (Running at :53535 by default)
docker-compose up -d

(Recommend) Automatically update Docker images

docker run -d \
    --name watchtower \
    --restart unless-stopped \
    -e TZ=Asia/Shanghai \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower -c \
    --schedule "0 0 5 * * *"

Credit

Open Source Agenda is not affiliated with "SmartDNS GFWList" Project. README Source: Apocalypsor/SmartDNS-GFWList
Stars
82
Open Issues
1
Last Commit
1 month ago

Open Source Agenda Badge

Open Source Agenda Rating