Package Details: mosdns-bin 5.3.1-1

Git Clone URL: https://aur.archlinux.org/mosdns-bin.git (read-only, click to copy)
Package Base: mosdns-bin
Description: 一个 DNS 转发器
Upstream URL: https://github.com/IrineSistiana/mosdns/
Licenses: GPL3
Provides: mosdns
Submitter: suienzan
Maintainer: suienzan
Last Packager: suienzan
Votes: 2
Popularity: 0.033338
First Submitted: 2020-12-04 09:08 (UTC)
Last Updated: 2023-11-06 15:01 (UTC)

Dependencies (0)

Required by (0)

Sources (4)

Latest Comments

suienzan commented on 2022-11-21 02:44 (UTC)

@seiuneko fixed in 4.5.3-3

seiuneko commented on 2022-11-21 01:17 (UTC)

应该将 mosdns 添加到 redis 组否则没有权限访问 redis unix domain socket。将

m mosdns redis

添加到 sysuser。

suienzan commented on 2022-06-06 02:47 (UTC)

@seiuneko fixed in 3.9.0-2

seiuneko commented on 2022-06-05 02:36 (UTC) (edited on 2022-06-05 02:37 (UTC) by seiuneko)

报错 install: 对 '../service' 调用 stat 失败: 没有那个文件或目录
修改为:

diff --git a/PKGBUILD b/PKGBUILD
index 8d2f57a..72d26b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,11 +13,14 @@ optdepends=('v2ray-domain-list-community: geosite.dat'
 backup=('etc/mosdns/config.yaml')
 provides=('mosdns')
 conflicts=('mosdns' 'mosdns-git')
-source=("$pkgname-$pkgver.zip::https://github.com/IrineSistiana/mosdns/releases/download/v${pkgver}/mosdns-linux-amd64.zip")
-sha256sums=('ddcdb7eb7d8d4783edfd7c9e60b719837407b2cf8abdc292413d03f6a7718652')
+source=("$pkgname-$pkgver.zip::https://github.com/IrineSistiana/mosdns/releases/download/v${pkgver}/mosdns-linux-amd64.zip"
+        "service" "config.yaml")
+sha256sums=('ddcdb7eb7d8d4783edfd7c9e60b719837407b2cf8abdc292413d03f6a7718652'
+            'b73feace50f17752d7a8f3012e546a6d05bfb13ba4946c93b82d511af974719a'
+            'fc8d3a5d1738589c7513e9cd38415737cdc4168fcfcd4f180956cc74c6acc36e')

 package() {
   install -Dm755 mosdns "$pkgdir"/usr/bin/mosdns
-  install -Dm644 ../service "$pkgdir"/usr/lib/systemd/system/mosdns.service
-  install -Dm644 ../config.yaml "$pkgdir"/etc/mosdns/config.yaml
+  install -Dm644 service "$pkgdir"/usr/lib/systemd/system/mosdns.service
+  install -Dm644 config.yaml "$pkgdir"/etc/mosdns/config.yaml
 }

suienzan commented on 2021-04-16 02:22 (UTC)

@1sixth fixed in 1.8.0-2

1sixth commented on 2021-04-15 13:19 (UTC)

PKGBUILD 第 21 行的 nginx.service 应改为 mosdns.service