Skip to content

nikescar/anydnsdqy

 
 

Repository files navigation

anydnsdqy

small dns server supports doq(dns over quic), doh(dns over https) made with rust. it is made with any-dns service and dqy backend

  • this binary has not tested, please use this in test environment
  • ipv6 service or connect is not supported

Usage

use it like any dns server. it will open 53 port.

- Run Normal DNS Server backed with default system DNS
$ ./anydnsdqy

- Use a specific resolver
$ ./anydnsdqy @1.1.1.1

- Use DoT for a resolver supporting DNS over TLS
$ ./anydnsdqy @1.1.1.1 --tls

- Use DoH for a resolver supporting DNS over HTTPS
$ ./anydnsdqy @https://cloudflare-dns.com/dns-query --doh

- Use DoQ
$ ./anydnsdqy @quic://dns.adguard.com

- Use DNSSEC
$ ./anydnsdqy --dnssec

- Binding Dns service to 127.0.0.2:53
$ ./anydnsdqy -b 127.0.0.2:53

Supported DNS Types

these dns types are supported. Unsupported dns type request will be replied with fallback server responses.

A
AAAA
AFSDB
CNAME
HINFO
LOC
MX
NS
PTR
SOA
SRV
TXT
SVCB
HTTPS
CAA
DNSKEY
RRSIG
DS
NAPTR
NSEC
NSEC3
NSEC3PARAM
CDS
CDNSKEY
OPENPGPKEY
SSHFP >>
URI >>

Todo

DQY Supported But Not Implemented Types

EUI48 >>
EUI64 >>
CERT >>
ZONEMD >>
KX >>
IPSECKEY >>
DNAME
DHCID >>
-----------------
ISDN >>
MINFO >>
NSAP >>
RouteThrough >>
RP >>
WKS >>
-----------------
apl
csync

simple_dns Not Implemented Types

TLSA
SMIMEA
HIP
WALLET

About

small dns server made with any-dns service and dqy backend.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 98.0%
  • Shell 2.0%