mirror of
https://github.com/dollarkillerx/SimpleDns.git
synced 2026-04-25 13:55:55 +03:00
Simple DNS relay server with customizable routing tables (シンプルなDNSサービス)(简单的DNS服务)
| cmd/simple_dns | ||
| deploy | ||
| internal | ||
| pkg | ||
| README | ||
| .gitignore | ||
| api_doc.md | ||
| config.yaml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| routing_table.csv | ||
SimpleDns
Simple DNS relay server with customizable routing tables

web: https://github.com/XC-Zero/simple_dns
deploy
docker-compose up -d
routing table exp:
routing_table.csv
domain,ip
domain,ip
runing
go build cmd/simple_dns/simple_dns.go
关于ubuntu 端口占用
systemctl stop systemd-resolved.service
systemctl disable systemd-resolved.service
rm /etc/resolv.conf
echo "nameserver 8.8.8.8" >> /etc/resolv.conf

