Package Details: coredns-bin 1.12.1-2

Git Clone URL: https://aur.archlinux.org/coredns-bin.git (read-only, click to copy)
Package Base: coredns-bin
Description: A DNS server that chains plugins
Upstream URL: https://github.com/coredns/coredns
Keywords: dns
Licenses: Apache-2.0
Conflicts: coredns-bin
Provides: coredns-bin
Submitter: fntlnz
Maintainer: Dominiquini
Last Packager: Dominiquini
Votes: 7
Popularity: 0.87
First Submitted: 2018-03-29 21:58 (UTC)
Last Updated: 2025-04-05 03:46 (UTC)

Latest Comments

Dominiquini commented on 2025-04-05 03:51 (UTC)

@xnmbyy: Sorry for that. I push a commit trying to fix that! Thanks

xnmbyy commented on 2025-04-05 01:24 (UTC) (edited on 2025-04-05 01:24 (UTC) by xnmbyy)

Thanks for maintaining this package.

I'm getting

error: failed to commit transaction (conflicting files)
coredns-bin: /etc/coredns/Corefile exists in filesystem

upon upgrade.

If you want to provide a secondary Corefile, could you please add a backup section on PKGBUILD

backup=(
  etc/coredns/Corefile
)

https://wiki.archlinux.org/title/PKGBUILD

Thank you!

Funami commented on 2022-01-13 15:58 (UTC)

@tbh Done, thanks!

tbh commented on 2022-01-13 12:33 (UTC) (edited on 2022-01-13 12:34 (UTC) by tbh)

arm64 support?

diff --git a/PKGBUILD b/PKGBUILD
index 71cd46e..50444db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,20 @@ pkgname=coredns-bin
pkgver=1.8.6
pkgrel=1
pkgdesc="A DNS server that chains plugins (official binary version)"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
conflicts=('coredns')
url="https://github.com/coredns/coredns"
license=('Apache')
provides=('coredns')
-source=(coredns_x64_${pkgver}.tar.gz::https://github.com/coredns/coredns/releases/download/v${pkgver}/coredns_${pkgver}_linux_amd64.tgz
-coredns.service
-coredns-sysusers.conf)
+source=(coredns.service
+        coredns-sysusers.conf)
+source_x86_64=(coredns_${pkgver}.tar.gz::https://github.com/coredns/coredns/releases/download/v${pkgver}/coredns_${pkgver}_linux_amd64.tgz)
+source_aarch64=(coredns_${pkgver}.tar.gz::https://github.com/coredns/coredns/releases/download/v${pkgver}/coredns_${pkgver}_linux_arm64.tgz)

-sha256sums=('b97ce1a3ca01a0f5687dbc825ed4d8fd3ec14ed71b3abe0bc8b9bcc4cc4d337b'
-            '030cd8e938c293c11a9acdb09b138f98b37874772072336792ec4bf0d9eff9b1'
+sha256sums=('030cd8e938c293c11a9acdb09b138f98b37874772072336792ec4bf0d9eff9b1'
            '536d03f8b20b0d2d6e8f96edd7e4e4dd7f6fef39ab0e952522d8725f3cc186b7')
+sha256sums_x86_64=('b97ce1a3ca01a0f5687dbc825ed4d8fd3ec14ed71b3abe0bc8b9bcc4cc4d337b')
+sha256sums_aarch64=('e6e4667c237e3355c3a611c1dc59e3fc83a49c23d1034a8c1bb14a0aebf8410e')

package() {
    install -Dm755 "$srcdir/coredns" "$pkgdir/usr/bin/coredns"

fntlnz commented on 2018-08-08 07:40 (UTC)

xuanwo - I'm not sure why you are hitting this, try to clean the cache.

xuanwo commented on 2018-08-08 02:36 (UTC) (edited on 2018-08-08 02:37 (UTC) by xuanwo)

In update I faced following error:

fatal: repository 'https://raw.githubusercontent.com/coredns/deployment/39c9f7ed7640f86fa0fb6ba06a88e9afa830b306/systemd/coredns.service/' not found

fatal: repository 'https://raw.githubusercontent.com/coredns/deployment/39c9f7ed7640f86fa0fb6ba06a88e9afa830b306/systemd/coredns-sysusers.conf/' not found

Maybe something wrong?