Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

MartialBE/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.

How to build

  • Enter in your openwrt dir

  • Openwrt official SnapShots

    # 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 package/mosdns
    git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata
    make menuconfig # choose LUCI -> Applications -> luci-app-mosdns
    make 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 package/mosdns
    git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata
    make menuconfig # choose LUCI -> Applications -> luci-app-mosdns
    make 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/master/install.sh)"

Packages

No packages published

Languages

  • Lua 45.5%
  • Shell 40.8%
  • HTML 8.7%
  • Makefile 5.0%