https://github.com/sbwml/luci-app-mosdns
一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉
https://github.com/sbwml/luci-app-mosdns
dns-over-http dns-over-https dns-over-quic dns-over-tls http3 luci-app-mosdns openwrt
Last synced: 5 months ago
JSON representation
一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉
- Host: GitHub
- URL: https://github.com/sbwml/luci-app-mosdns
- Owner: sbwml
- Created: 2022-04-01T09:53:13.000Z (over 3 years ago)
- Default Branch: v5
- Last Pushed: 2024-03-30T13:00:24.000Z (over 1 year ago)
- Last Synced: 2024-03-31T08:22:55.684Z (over 1 year ago)
- Topics: dns-over-http, dns-over-https, dns-over-quic, dns-over-tls, http3, luci-app-mosdns, openwrt
- Language: Shell
- Homepage: https://github.com/IrineSistiana/mosdns
- Size: 856 KB
- Stars: 883
- Watchers: 5
- Forks: 175
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# luci-app-mosdns
[MosDNS](https://github.com/IrineSistiana/mosdns) is a plug-in DNS forwarder. Users can splicing plug-ins as needed to customize their own DNS processing logic.
## DNS protocol standard
**General DNS (UDP):** `119.29.29.29` **&** `udp://119.29.29.29:53`
**General DNS (TCP):** `tcp://119.29.29.29` **&** `tcp://119.29.29.29:53`
**DNS-over-TLS:** `tls://120.53.53.53` **&** `tls://120.53.53.53:853`
**DNS-over-HTTPS:** `https://120.53.53.53/dns-query`
**DNS-over-HTTPS (HTTP/3):** `h3://dns.alidns.com/dns-query`
**DNS-over-QUIC:** `quic://dns.alidns.com` **&** `doq://dns.alidns.com`
--------------
## How to build
- Enter in your openwrt dir
- Openwrt official SnapShots
* requires golang 1.22.x or latest version
```shell
rm -rf feeds/packages/lang/golang
git clone https://github.com/sbwml/packages_lang_golang -b 23.x feeds/packages/lang/golang
``````shell
# remove v2ray-geodata package from feeds (openwrt-22.03 & master)
rm -rf feeds/packages/net/v2ray-geodatagit clone https://github.com/sbwml/luci-app-mosdns -b v5 package/mosdns
git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata
make menuconfig # choose LUCI -> Applications -> luci-app-mosdns
make package/mosdns/luci-app-mosdns/compile V=s
```- Non-Openwrt official source
```shell
# drop mosdns and v2ray-geodata packages that come with the source
find ./ | grep Makefile | grep v2ray-geodata | xargs rm -f
find ./ | grep Makefile | grep mosdns | xargs rm -fgit clone https://github.com/sbwml/luci-app-mosdns -b v5 package/mosdns
git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata
make menuconfig # choose LUCI -> Applications -> luci-app-mosdns
make package/mosdns/luci-app-mosdns/compile V=s
```--------------
## How to install prebuilt packages
- Login OpenWrt terminal (SSH)
- Install `curl` package
```shell
opkg update
opkg install curl
```- Execute install script (Multi-architecture support)
```shell
sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh)"
```--------------
## Preview Images



