All Projects → wrfly → web-dns

wrfly / web-dns

Licence: GPL-3.0 license
Query DNS via HTTP Get

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to web-dns

Nativepayload dns
C# code for Transferring Backdoor Payloads by DNS Traffic and Bypassing Anti-viruses
Stars: ✭ 228 (+1325%)
Mutual labels:  dns
CoSky
High-performance, low-cost microservice governance platform. Service Discovery and Configuration Service | 高性能、低成本微服务治理平台
Stars: ✭ 57 (+256.25%)
Mutual labels:  dns
go-srvlb
DNS SRV Load Balancer for gRPC
Stars: ✭ 41 (+156.25%)
Mutual labels:  dns
Chameleon
Customizable honeypots for monitoring network traffic, bots activities and username\password credentials (DNS, HTTP Proxy, HTTP, HTTPS, SSH, POP3, IMAP, STMP, RDP, VNC, SMB, SOCKS5, Redis, TELNET, Postgres and MySQL)
Stars: ✭ 230 (+1337.5%)
Mutual labels:  dns
ansible-role-dns
Install and configure dns on your system.
Stars: ✭ 39 (+143.75%)
Mutual labels:  dns
Dumb
Dumain Bruteforcer - a fast and flexible domain bruteforcer
Stars: ✭ 54 (+237.5%)
Mutual labels:  dns
Cfadmin
A lua high-performance web network development framework.
Stars: ✭ 221 (+1281.25%)
Mutual labels:  dns
FreeGithub
😊自动获取github相关网站的ip地址,解决github链接不畅通的问题
Stars: ✭ 45 (+181.25%)
Mutual labels:  dns
balboa
server for indexing and querying passive DNS observations
Stars: ✭ 42 (+162.5%)
Mutual labels:  dns
ocaml-dns
OCaml implementation of the DNS protocol
Stars: ✭ 93 (+481.25%)
Mutual labels:  dns
Dnscap
Network capture utility designed specifically for DNS traffic
Stars: ✭ 234 (+1362.5%)
Mutual labels:  dns
Adguarddns
Public DNS resolver that protects you from ad trackers
Stars: ✭ 245 (+1431.25%)
Mutual labels:  dns
fastdns
Fast DNS package for Go. Tuned for high performance. Zero memory allocations in almost paths. Up to 1M QPS on a single host.
Stars: ✭ 67 (+318.75%)
Mutual labels:  dns
Blahdns
A small hobby ads block dns project with doh, dot, dnscrypt support.
Stars: ✭ 228 (+1325%)
Mutual labels:  dns
docker-hosts-updater
Automatic update /etc/hosts on start/stop containers.
Stars: ✭ 36 (+125%)
Mutual labels:  dns
Digital Ocean Dynamic Dns Updater
Digital Ocean Dynamic DNS Updater
Stars: ✭ 223 (+1293.75%)
Mutual labels:  dns
domain-lookup-tree
A tree structure in Rust optimized for looking up domain names, with wildcard support
Stars: ✭ 17 (+6.25%)
Mutual labels:  dns
docker-nginx-proxy-cloudflare-companion
Automatically update CNAME records when Docker container starts via Cloudflare
Stars: ✭ 26 (+62.5%)
Mutual labels:  dns
udns
micro dns server
Stars: ✭ 16 (+0%)
Mutual labels:  dns
dohjs
DNS over HTTPS client for use in the browser
Stars: ✭ 71 (+343.75%)
Mutual labels:  dns

Web Dns

Code base here is very ugly, just can work.

Build Status

curl https://dns.kfd.me/www.google.com

Usage

NAME:
   web-dns - Query domain via HTTP(S)

USAGE:
   web-dns [global options] command [command options] [arguments...]

COMMANDS:
     help, h  Shows a list of commands or help for one command
GLOBAL OPTIONS:
   --port value        port to listen on (default: 8080) [$WDC_PORT]
   --dns value         dns servers (default: "8.8.8.8:53", "8.8.4.4:53") [$WDC_DNS]  --timeout value     dig timeout (second) (default: 1) [$WDC_TIMEOUT]
   --rate value        rate of requests per minute per IP (default: 1000) [$WDC_RATE]
   --cache value       cache type: mem|redis|bolt (default: "mem") [$WDC_CACHE]
   --redis-addr value  this flag is used for redis cacher (default: "localhost:6379") [$WDC_REDIS_ADDR]
   --black-list value  blacklist of clients (default: "8.8.8.8", "4.4.4.4") [$WDC_BLACK_LIST]
   --hosts value       hijack hosts file path [$WDC_HOSTS]
   --debug             debug log-level, metrics and pprof debug (default: false) [$WDC_DEBUG]
   --debug-port value  server debug port (default: 8081) [$WDC_DEBUG_PORT]
   --help, -h          show help (default: false)
   --version, -v       print the version (default: false)

API List

Default

curl https://dns.kfd.me/www.google.com
216.58.199.228

With Type

curl https://dns.kfd.me/www.google.com/AAAA
2404:6800:400a:807::2004

curl https://dns.kfd.me/github.com/A
192.30.253.112

curl https://dns.kfd.me/github.com/MX
aspmx.l.google.com.

curl https://dns.kfd.me/github.com/NS
ns4.p16.dynect.net.

Reurn Json

curl https://dns.kfd.me/github.io/json -s | python -mjson.tool
[
    {
        "host": "151.101.1.147",
        "ttl": 600,
        "type": "A"
    },
    {
        "host": "151.101.129.147",
        "ttl": 600,
        "type": "A"
    },
    {
        "host": "151.101.65.147",
        "ttl": 600,
        "type": "A"
    },
    {
        "host": "151.101.193.147",
        "ttl": 600,
        "type": "A"
    }
]

curl https://dns.kfd.me/github.com/MX/json -s | python -mjson.tool
[
    {
        "host": "ALT1.ASPMX.L.GOOGLE.COM.",
        "ttl": 3600,
        "type": "MX"
    },
    {
        "host": "ASPMX.L.GOOGLE.COM.",
        "ttl": 3600,
        "type": "MX"
    },
    {
        "host": "ALT4.ASPMX.L.GOOGLE.COM.",
        "ttl": 3600,
        "type": "MX"
    },
    {
        "host": "ALT2.ASPMX.L.GOOGLE.COM.",
        "ttl": 3600,
        "type": "MX"
    },
    {
        "host": "ALT3.ASPMX.L.GOOGLE.COM.",
        "ttl": 3600,
        "type": "MX"
    }
]

curl https://dns.kfd.me/www.google.com/AAAA/json -s | python -mjson.tool
[
    {
        "host": "2404:6800:4008:800::2004",
        "ttl": 36395,
        "type": "AAAA"
    }
]

TODO

  • it works
  • dns lib
  • cacher
    • mem
    • redis
    • blot
  • metrics and debug
  • rate limit(per IP)
  • hijack
  • api list
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].