summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMidori2022-03-07 11:39:25 +0900
committerMidori2022-03-07 11:39:35 +0900
commit07afc3b6bb67cdd4a93d3747fd5139d066ebcf7c (patch)
tree4c730d194f4321cac19e2027a19353ce1a2c4d27
parent49087d310331bf7c168e131f2ab5c5952100ad31 (diff)
downloadaur-07afc3b6bb67cdd4a93d3747fd5139d066ebcf7c.tar.gz
3.4.0
use fast_forward in default config
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--config.yaml4
3 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1664fcdc94f0..a73cef468b57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mosdns-bin
pkgdesc = Plug-in configured DNS forwarder/server
- pkgver = 3.3.0
+ pkgver = 3.4.0
pkgrel = 1
url = https://github.com/IrineSistiana/mosdns/
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = mosdns-bin
conflicts = mosdns
conflicts = mosdns-git
backup = etc/mosdns/config.yaml
- source = mosdns-bin-3.3.0.zip::https://github.com/IrineSistiana/mosdns/releases/download/v3.3.0/mosdns-linux-amd64.zip
- sha256sums = 6eb1859b8a637920867608f699f10e819fc4834532b7bb2ea93982e155ff3d74
+ source = mosdns-bin-3.4.0.zip::https://github.com/IrineSistiana/mosdns/releases/download/v3.4.0/mosdns-linux-amd64.zip
+ sha256sums = a146ca91e7bbc6200c554df77c518fc06baac703f11b03c4e71268b77577e4fd
pkgname = mosdns-bin
diff --git a/PKGBUILD b/PKGBUILD
index fc99fe0b8a4c..770dffc7291a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: suienzan <suienzan at gmail dot com>
_pkgname=mosdns
pkgname=${_pkgname}-bin
-pkgver=3.3.0
+pkgver=3.4.0
pkgrel=1
pkgdesc="Plug-in configured DNS forwarder/server"
arch=('x86_64')
@@ -14,7 +14,7 @@ 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=('6eb1859b8a637920867608f699f10e819fc4834532b7bb2ea93982e155ff3d74')
+sha256sums=('a146ca91e7bbc6200c554df77c518fc06baac703f11b03c4e71268b77577e4fd')
package() {
install -Dm755 mosdns "$pkgdir"/usr/bin/mosdns
diff --git a/config.yaml b/config.yaml
index fc35b2fb51b1..e1c33d5224b8 100644
--- a/config.yaml
+++ b/config.yaml
@@ -62,14 +62,14 @@ plugin:
# 转发请求至本地服务器的插件
- tag: forward_local
- type: forward
+ type: "fast_forward"
args:
upstream:
- addr: https://223.5.5.5/dns-query
# 转发请求至远程服务器的插件
- tag: forward_remote
- type: forward
+ type: "fast_forward"
args:
upstream:
- addr: https://1.1.1.1/dns-query