Categorygithub.com/maxkulish/dnscrypt-list
repository
0.1.16
Repository: https://github.com/maxkulish/dnscrypt-list.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

dnscrypt-list

CLI which generates blocked-names, blocked-ips, allowed-names for dnscrypt-proxy

Types of sources

url - http or https links to the list of domains

file - path to the local file

Formats

domain - new domain each line

bind - BIND zone file. Example: zone "domain.com" {type master; file "/etc/namedb/blockeddomain.hosts";};

host - similar to /etc/hosts Example: 0.0.0.0 domain.com

Temporary directory

Folder for Badger DB will be created after the first start

/tmp/dnscrypt/
├── 000001.vlog
├── DISCARD
├── KEYREGISTRY
└── MANIFEST

You can define another path in config.yml

Build

Local development

To build local version you need to install goreleaser

macOS

brew install goreleaser/tap/goreleaser
brew install goreleaser

Build binary for the current OS

make build-local

output

dist
├── config.yaml
└── dnscrypt-list_darwin_amd64
    └── dnscrypt-list

To run the binary with the config.yml in the current folder

./dist/dnscrypt-list_darwin_amd64/dnscrypt-list

or specify path to the config file

./dist/dnscrypt-list_darwin_amd64/dnscrypt-list --config=./dir/config.yml