Update PKGBUILD and dnsproxy.yaml
This commit is contained in:
parent
e061aaa68c
commit
29d9167c90
2 changed files with 28 additions and 15 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Fijxu <fijxu <at> zzls <dot> xyz>
|
# Maintainer: Fijxu <fijxu <at> zzls <dot> xyz>
|
||||||
pkgname=dnsproxy-git
|
pkgname=dnsproxy-git
|
||||||
pkgver=0.48.3.r787.c060c2a
|
pkgver=v0.60.1.r1.g638288e
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version)"
|
pkgdesc="Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -15,13 +15,13 @@ source=("dnsproxy-git::git+https://github.com/AdguardTeam/dnsproxy.git"
|
||||||
"dnsproxy.yaml"
|
"dnsproxy.yaml"
|
||||||
"dnsproxy.service")
|
"dnsproxy.service")
|
||||||
sha256sums=("SKIP"
|
sha256sums=("SKIP"
|
||||||
"9d8a7088bb101114397dd299c19d690f0356a6787844c2b4ca7358612dd1b594"
|
"35804d7b72453889bce6cf3bc03a499481f0c2f85fb2b02e272a1b5c061b0823"
|
||||||
"565eea9808589ecafa81f2229ac1f85b39028e26d488a9a7c0b51afc43d7f42b")
|
"565eea9808589ecafa81f2229ac1f85b39028e26d488a9a7c0b51afc43d7f42b")
|
||||||
_conf=etc/dnsproxy/dnsproxy.yaml
|
_conf=etc/dnsproxy/dnsproxy.yaml
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
printf "0.48.3.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -2,18 +2,31 @@
|
||||||
# config file
|
# config file
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Required
|
## Required
|
||||||
# upstream: # At least one upstream is required
|
# A list of DNS servers that you want to use
|
||||||
# - 1.1.1.1:53
|
# An upstream to be used (can be specified multiple times).
|
||||||
|
# You can also specify path to a file with the list of servers
|
||||||
|
upstream:
|
||||||
|
# - udp://45.90.28.88 # NextDNS DNS
|
||||||
|
# - udp://76.76.2.0 # ControlD DNS
|
||||||
|
|
||||||
|
# Fallback resolvers to use when regular ones are unavailable,
|
||||||
|
# can be specified multiple times. You can also specify path
|
||||||
|
# to a file with the list of servers
|
||||||
|
fallback:
|
||||||
|
# - udp://127.0.0.1 # Replace this with any DNS you want to use
|
||||||
|
|
||||||
## Recommended
|
|
||||||
tls-min-version: 1.2
|
tls-min-version: 1.2
|
||||||
http3: true # dnsproxy automatically picks the fastest HTTP(S) protocol
|
http3: true
|
||||||
refuse-any: true
|
refuse-any: false
|
||||||
|
listen-addrs:
|
||||||
## Optional
|
- 127.0.0.1
|
||||||
# listen-addrs: # Defaults to 0.0.0.0 which is prone to conflict
|
listen-ports:
|
||||||
# - 127.0.0.56
|
- 53
|
||||||
# cache: true # Caching is disabled by default
|
# Cache Enabled.
|
||||||
# verbose: true # Increase verbosity for debugging
|
cache: true
|
||||||
|
cache-optimistic: false
|
||||||
|
verbose: false
|
||||||
|
# If specified, parallel queries to all configured upstream servers are enabled
|
||||||
|
all-servers: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue