diff --git a/testing/dnsperf/APKBUILD b/testing/dnsperf/APKBUILD
index 5eae9981424223a510675155702892866d9f47ff..aaf367e3f91b638a60a9523a0da74cb0f57a324a 100644
--- a/testing/dnsperf/APKBUILD
+++ b/testing/dnsperf/APKBUILD
@@ -1,15 +1,16 @@
 # Contributor: Thomas Deutsch <thomas@tuxpeople.org>
 # Maintainer: Thomas Deutsch <thomas@tuxpeople.org>
 pkgname=dnsperf
-pkgver=2.3.4
-pkgrel=1
+pkgver=2.4.0
+pkgrel=0
 pkgdesc="Dnsperf and resperf gather accurate latency and throughput metrics for DNS"
 url="https://www.dns-oarc.net/tools/dnsperf"
 arch="all"
 license="Apache-2.0"
-makedepends="bind-dev openssl-dev libxml2-dev libcap-dev json-c-dev krb5-dev protobuf-c-dev fstrm-dev"
+makedepends="ldns-dev openssl-dev libxml2-dev libcap-dev json-c-dev krb5-dev
+	protobuf-c-dev fstrm-dev"
 subpackages="$pkgname-doc"
-source="https://www.dns-oarc.net/files/dnsperf/dnsperf-2.3.4.tar.gz"
+source="https://www.dns-oarc.net/files/dnsperf/dnsperf-$pkgver.tar.gz"
 
 build() {
 	./configure \
@@ -30,4 +31,4 @@ package() {
 	make DESTDIR="$pkgdir" install
 }
 
-sha512sums="ec1df94d9f1c9bc9d439318cfa75f9eea7a8a41c88a411e0678606a3fc4374d1bcc63ce5da606ed4951477d994b440cc2109f2ffc99feddf29bbdfa17f44efd8  dnsperf-2.3.4.tar.gz"
+sha512sums="dfa4ff3d941fd39af09901dcbb7e10c048687a469c1698408360bc509909a5d5b13bd270c91d886732fc4490d886ebc906f1b9f290ffa357bf53c7e99b69c679  dnsperf-2.4.0.tar.gz"