All Projects → wyhaya → updns

wyhaya / updns

Licence: MIT license
DNS proxy tool

Programming Languages

rust
11053 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to updns

gochinadns
Project archived: I believe Clash has provides a more elegant DNS & proxy solution. So there is no need to maintain this project. Have fun guys! ----- A drop-in replacement for ChinaDNS, with a better code implementation and several bugfixes.
Stars: ✭ 38 (-34.48%)
Mutual labels:  dns-server, dns-proxy
Goproxy
🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
Stars: ✭ 11,334 (+19441.38%)
Mutual labels:  udp, dns-proxy
Netflix Proxy
Smart DNS proxy to watch Netflix
Stars: ✭ 3,220 (+5451.72%)
Mutual labels:  dns-server, dns-proxy
Dnsguide
A guide to writing a DNS Server from scratch in Rust
Stars: ✭ 2,226 (+3737.93%)
Mutual labels:  udp, dns-server
node-dns
🌐 DNS Server and Client Implementation in Pure JavaScript with no dependencies.
Stars: ✭ 390 (+572.41%)
Mutual labels:  udp, dns-server
zerotierDNS
Dns-server for zerotier networks. Resolves names of clients to their IP
Stars: ✭ 23 (-60.34%)
Mutual labels:  dns-server, dns-proxy
udp-proxy-2020
A crappy UDP router for the year 2020 and beyond
Stars: ✭ 46 (-20.69%)
Mutual labels:  udp
DNS-over-HTTPS
An implementation of RFC 8484 - DNS Queries over HTTPS (DoH).
Stars: ✭ 27 (-53.45%)
Mutual labels:  dns-server
overload
📡 Overload DoS Tool (Layer 7)
Stars: ✭ 167 (+187.93%)
Mutual labels:  udp
lib32100
Library implementing port 32100 UDP Cloud protocol
Stars: ✭ 37 (-36.21%)
Mutual labels:  udp
Swiddler
TCP/UDP debugging tool.
Stars: ✭ 56 (-3.45%)
Mutual labels:  udp
sthread
sthread(simple-thread):支持高并发的协程网络库
Stars: ✭ 27 (-53.45%)
Mutual labels:  udp
prc-dns
对CDN友好的DNS服务器,区分国内外流量的必备工具。
Stars: ✭ 47 (-18.97%)
Mutual labels:  dns-server
docker-dns-ad-blocker
A lightweight dnsmasq DNS server to block traffic to known ad servers with optional DNSCrypt support. Supports x86_64 and Raspberry Pi (armhf).
Stars: ✭ 78 (+34.48%)
Mutual labels:  dns-server
mongoose
Embedded Web Server
Stars: ✭ 8,968 (+15362.07%)
Mutual labels:  udp
go-dns-proxy
A simple DNS proxy in go
Stars: ✭ 27 (-53.45%)
Mutual labels:  dns-proxy
gnb udp over tcp
gnb_udp_over_tcp 是一个为GNB开发的通过tcp链路中转UDP分组转发的服务
Stars: ✭ 32 (-44.83%)
Mutual labels:  udp
aioudp
Asyncio UDP server
Stars: ✭ 21 (-63.79%)
Mutual labels:  udp
AndroidNetMonitor
This project aims to collect and analyze traffic information of Android.(采集手机发送和接收的报文简要信息,并且根据socket记录每个报文对应哪个手机app)
Stars: ✭ 25 (-56.9%)
Mutual labels:  udp
dperf
dperf is a DPDK based 100Gbps network performance and load testing software.
Stars: ✭ 1,320 (+2175.86%)
Mutual labels:  udp

updns

GitHub Workflow Status Crates.io Crates.io


updns is a simple DNS proxy server developed using Rust. You can intercept any domain name and return the ip you need

Install

Download the binary from the release page

Or use cargo to install

cargo install updns

Start to use 🚀

updns
# or
updns -c /your/hosts

You may use sudo to run this command because you will use the 53 port

Running in docker

Build docker image

docker build -t updns .

Start up

docker run -d --name updns -p 53:53/udp -v /root/updns/:/root/.updns/ --restart always updns

Config

You can use updns config command and then call vim edit, or find ~/.updns/config edit

You can specify standard domains, or utilize regular expressions for dynamic matching

Regular expression starts with ~

bind     0.0.0.0:53      # Binding address
proxy    8.8.8.8:53      # Proxy address
timeout  2s              # Proxy timeout (format: 1ms, 1s, 1m, 1h, 1d)

# Domain matching
example.com              1.1.1.1
*.example.com            2.2.2.2
~^\w+\.example\.[a-z]+$  3.3.3.3

# IPv6
test.com                ::

# Import from other file
import /other/hosts

Reference

Building a DNS server in Rust

License

MIT license

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].