Lightweight DNS server with ad-blocking and caching.
go build./xdns -upstream 1.1.1.1Default upstream is 1.1.1.1:53 (Cloudflare).
- Blocks ads and tracking domains
- Caches DNS responses
- Auto-downloads blocklists on first run (StevenBlack's hosts Project , anudeepND's blacklist Project)
- Custom upstream DNS server
Edit blacklist.ini to add custom domains:
example.com
*.ads.example.com
MIT