{"id":20550914,"url":"https://github.com/sbwml/luci-app-mosdns","last_synced_at":"2026-05-02T08:02:02.482Z","repository":{"id":40897151,"uuid":"476664519","full_name":"sbwml/luci-app-mosdns","owner":"sbwml","description":"一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉","archived":false,"fork":false,"pushed_at":"2026-05-01T03:01:23.000Z","size":1110,"stargazers_count":1712,"open_issues_count":51,"forks_count":311,"subscribers_count":6,"default_branch":"v5","last_synced_at":"2026-05-01T03:18:12.802Z","etag":null,"topics":["dns-over-http","dns-over-https","dns-over-quic","dns-over-tls","http3","luci-app-mosdns","openwrt"],"latest_commit_sha":null,"homepage":"https://github.com/IrineSistiana/mosdns","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbwml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-01T09:53:13.000Z","updated_at":"2026-05-01T02:59:24.000Z","dependencies_parsed_at":"2023-10-14T19:17:15.984Z","dependency_job_id":"2e909953-52f0-451c-81f3-b1279722f374","html_url":"https://github.com/sbwml/luci-app-mosdns","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/sbwml/luci-app-mosdns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbwml%2Fluci-app-mosdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbwml%2Fluci-app-mosdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbwml%2Fluci-app-mosdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbwml%2Fluci-app-mosdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbwml","download_url":"https://codeload.github.com/sbwml/luci-app-mosdns/tar.gz/refs/heads/v5","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbwml%2Fluci-app-mosdns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32527138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns-over-http","dns-over-https","dns-over-quic","dns-over-tls","http3","luci-app-mosdns","openwrt"],"created_at":"2024-11-16T02:28:05.464Z","updated_at":"2026-05-02T08:02:02.478Z","avatar_url":"https://github.com/sbwml.png","language":"JavaScript","funding_links":[],"categories":["Shell","JavaScript"],"sub_categories":[],"readme":"# luci-app-mosdns\n\n[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.\n\n## DNS protocol standard\n\n**General DNS (UDP):** `119.29.29.29` **\u0026** `udp://119.29.29.29:53`\n\n**General DNS (TCP):** `tcp://119.29.29.29` **\u0026** `tcp://119.29.29.29:53`\n\n**DNS-over-TLS:** `tls://120.53.53.53` **\u0026** `tls://120.53.53.53:853`\n\n**DNS-over-HTTPS:** `https://120.53.53.53/dns-query`\n\n**DNS-over-HTTPS (HTTP/3):** `h3://dns.alidns.com/dns-query`\n\n**DNS-over-QUIC:** `quic://dns.alidns.com` **\u0026** `doq://dns.alidns.com`\n\n## New Data Provider: `adblock_set`\n\nThe parser supports the following common DNS-related rule formats:\n\n- `||example.com^`: Subdomain match.\n- `example.com`: Exact match.\n- `|example.com|`: Exact match.\n- `/regexp/`: Regular expression match.\n- `*keyword*`: Keyword match.\n- `@@`: Prefix for whitelisting rules.\n- mosdns rules: `domain:`, `full:`, `keyword:`, `regexp:`\n\nYou can now use the new provider in your `config.yaml`:\n\n```yaml\nplugins:\n  - tag: \"ad_rules\"\n    type: adblock_set\n    args:\n      files:\n        - \"./adguard_dns.txt\"\n        - \"./easylist.txt\"\n\n  - tag: \"query_is_ad\"\n    type: query_matcher\n    args:\n      domain:\n        - \"provider:ad_rules\"\n```\n\n--------------\n\n## How to build\n\n- Enter in your openwrt dir\n\n- Openwrt official SnapShots\n\n  * requires golang 1.25.x or latest version\n  ```shell\n  rm -rf feeds/packages/lang/golang\n  git clone https://github.com/sbwml/packages_lang_golang -b 26.x feeds/packages/lang/golang\n  ```\n\n  ```shell\n  # remove v2ray-geodata package from feeds\n  rm -rf feeds/packages/net/v2ray-geodata\n\n  git clone https://github.com/sbwml/luci-app-mosdns -b v5 package/mosdns\n  git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata\n  make menuconfig # choose LUCI -\u003e Applications -\u003e luci-app-mosdns\n  make package/mosdns/luci-app-mosdns/compile V=s\n  ```\n\n- Non-Openwrt official source\n\n  ```shell\n  # drop mosdns and v2ray-geodata packages that come with the source\n  find ./ | grep Makefile | grep v2ray-geodata | xargs rm -f\n  find ./ | grep Makefile | grep mosdns | xargs rm -f\n\n  git clone https://github.com/sbwml/luci-app-mosdns -b v5 package/mosdns\n  git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata\n  make menuconfig # choose LUCI -\u003e Applications -\u003e luci-app-mosdns\n  make package/mosdns/luci-app-mosdns/compile V=s\n  ```\n\n--------------\n\n## How to install prebuilt packages\n\n- Login OpenWrt terminal (SSH)\n\n- Install `curl` package\n  ```shell\n  # for opkg package manager (24.10)\n  opkg update\n  opkg install curl\n  \n  # for apk package manager (25.12 or latest)\n  apk update\n  apk add curl\n  ```\n\n- Execute install script (Multi-architecture support)\n  ```shell\n  sh -c \"$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh)\"\n  ```\n\n  install via ghproxy:\n  ```shell\n  sh -c \"$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh)\" _ gh_proxy=\"https://gh.cooluc.com\"\n  ```\n\n--------------\n\n![1](https://github.com/user-attachments/assets/f92847c9-4512-4969-afdc-2d83ddf3a758)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbwml%2Fluci-app-mosdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbwml%2Fluci-app-mosdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbwml%2Fluci-app-mosdns/lists"}