aiodns

command module
v0.0.0-...-a27da54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 25 Imported by: 0

README

AIO DNS

A All-In-One DNS Solution, A Specail-List Rule Generator of AdguardTeam/dnsproxy

Source
Thanks
Docker
Usage
$ docker pull chenhw2/aiodns

$ docker run -d \
    ---network=host \
    -e PORT=53 \
    chenhw2/aiodns
Help
$ docker run --rm chenhw2/aiodns -h
NAME:
   AIO DNS - All In One Clean DNS Solution.

USAGE:
   aiodns [global options] command [command options] [arguments...]

VERSION:
   Git:[MISSING BUILD VERSION [GIT HASH]] (dnsproxy version)(go version)

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --listen value, -l value            Listening address (default: ":5300")
   --upstream value, -u value          An upstream to be default used (can be specified multiple times) (default: "tls://dns.pub", ...)
   --special-upstream value, -U value  An upstream to be special used (can be specified multiple times) (default: "https://8.8.8.8/dns-query", ...)
   --fallback value, -f value          Fallback resolvers to use when regular ones are unavailable, can be specified multiple times (default: "tcp://9.9.9.11:9953", ...)
   --bootstrap value, -b value         Bootstrap DNS for DoH and DoT, can be specified multiple times (default: "tls://223.5.5.5", "tls://1.12.12.12", ...)
   --special-list value, -L value      List of domains using special-upstream (can be specified multiple times), (file path from local or net)
   --bypass-list value, -B value       List of domains bypass special-upstream (can be specified multiple times), (file path from local or net)
   --edns value, -e value              Send EDNS Client Address to default upstreams
   --timeout value, -t value           Timeout of Each upstream, [1, 59] seconds (default: 3)
   --cache, -C                         If specified, DNS cache is enabled
   --insecure, -I                      If specified, disable SSL/TLS Certificate check (for some OS without ca-certificates)
   --ipv6-disabled, -R                 If specified, all AAAA requests will be replied with NoError RCode and empty answer
   --refuse-any, -A                    If specified, refuse ANY requests
   --fastest-addr, -F                  If specified, Respond to A or AAAA requests only with the fastest IP address
   --http3, -H                         If specified, Enable HTTP/3 support
   --verbose, -V                       If specified, Verbose output
   --help, -h                          show help
   --version, -v                       print the version
Example
  • use latest list-file fetching online
aiodns --special-list=https://raw.githubusercontent.com/honwen/openwrt-dnsmasq-extra/master/dnsmasq-extra/files/data/tldn.gz
  • use list-file locally
aiodns --special-list=/data/tldn

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd
Package cmd is the dnsproxy CLI entry point.
Package cmd is the dnsproxy CLI entry point.
dnsmsg
Package dnsmsg contains common constants, functions, and types for inspecting and constructing DNS messages.
Package dnsmsg contains common constants, functions, and types for inspecting and constructing DNS messages.
netutil
Package netutil contains network-related utilities common among dnsproxy packages.
Package netutil contains network-related utilities common among dnsproxy packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL