Skip to content

一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉

Notifications You must be signed in to change notification settings

stztao/luci-app-mosdns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luci-app-mosdns

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:https://119.29.29.29:53

General DNS (TCP): tcp:https://119.29.29.29 & tcp:https://119.29.29.29:53

DNS-over-TLS: tls:https://120.53.53.53 & tls:https://120.53.53.53:853

DNS-over-HTTPS: https://120.53.53.53/dns-query

DNS-over-HTTPS (HTTP/3): h3:https://dns.alidns.com/dns-query

DNS-over-QUIC: quic:https://dns.alidns.com & doq:https://dns.alidns.com


How to build

  • Enter in your openwrt dir

  • Openwrt official SnapShots

    • requires golang 1.20.x or latest version (openwrt-21.02 & older version needs)
    rm -rf feeds/packages/lang/golang
    git clone https://github.com/sbwml/packages_lang_golang -b 20.x feeds/packages/lang/golang
    # remove v2ray-geodata package from feeds (openwrt-22.03 & master)
    rm -rf feeds/packages/net/v2ray-geodata
    
    git 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

    # 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 -f
    
    git 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

    opkg update
    opkg install curl
  • Execute install script (Multi-architecture support)

    sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh)"

Preview Images

1

2

3

4

About

一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 42.6%
  • Lua 41.0%
  • HTML 11.0%
  • Makefile 5.4%