diff --git a/dns/dnsdbq/Makefile b/dns/dnsdbq/Makefile
index b382a9764139..b7923813d3e0 100644
--- a/dns/dnsdbq/Makefile
+++ b/dns/dnsdbq/Makefile
@@ -1,27 +1,27 @@
 PORTNAME=	dnsdbq
-PORTVERSION=	2.5.5
+PORTVERSION=	2.6.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	dns
 
 MAINTAINER=	truckman@FreeBSD.org
 COMMENT=	DNSDB API Client, C Version
 
 LICENSE=		APACHE20
 LICENSE_FILE_APACHE20=	${WRKSRC}/Apache-2.0
 
 LIB_DEPENDS=	libjansson.so:devel/jansson \
 		libcurl.so:ftp/curl
 
 USES=		compiler:c11 localbase
 USE_GITHUB=	yes
 GH_ACCOUNT=	dnsdb
 
 PORTSCOUT=	limit:^[0-9]*\.[0-9]*\.[0-9]*$$
 PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1/
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1
 
 .include <bsd.port.mk>
diff --git a/dns/dnsdbq/distinfo b/dns/dnsdbq/distinfo
index f7bcf9a24ef1..ef7f557a88e9 100644
--- a/dns/dnsdbq/distinfo
+++ b/dns/dnsdbq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1626387287
-SHA256 (dnsdb-dnsdbq-v2.5.5_GH0.tar.gz) = 38cbfe97459dbd965a2961ce79fb422b82d9c794d4c75b9e89ffbbcad6aa4bab
-SIZE (dnsdb-dnsdbq-v2.5.5_GH0.tar.gz) = 54163
+TIMESTAMP = 1637446719
+SHA256 (dnsdb-dnsdbq-v2.6.0_GH0.tar.gz) = 517f8cce434f4974a80838cd643eb84af7a0d0c4a3df4e18bf6b01a047e9e137
+SIZE (dnsdb-dnsdbq-v2.6.0_GH0.tar.gz) = 57394
diff --git a/dns/dnsdbq/files/patch-deduper.c b/dns/dnsdbq/files/patch-deduper.c
new file mode 100644
index 000000000000..a7447683873f
--- /dev/null
+++ b/dns/dnsdbq/files/patch-deduper.c
@@ -0,0 +1,22 @@
+commit cbe42ddcb4f4e2b55365cd1d9c13c589957ccb6e
+Author: Sascha Steinbiss <satta@users.noreply.github.com>
+Date:   Tue Nov 2 19:18:31 2021 +0100
+
+    use 'zu' format string in deduper_dump() (#196)
+    
+    The use of 'lu' to format a size_t leads to build failures (via -Werror)
+    on many architectures.
+
+diff --git deduper.c.orig deduper.c
+index 5300aea..a06b13e 100644
+--- deduper.c.orig
++++ deduper.c
+@@ -87,7 +87,7 @@ void
+ deduper_dump(deduper_t me, FILE *out) {
+ 	for (size_t bucket = 0; bucket < me->buckets; bucket++)
+ 		if (me->chains[bucket] != NULL) {
+-			fprintf(out, "[%lu]", bucket);
++			fprintf(out, "[%zu]", bucket);
+ 			for (chainlink_t chainlink = me->chains[bucket];
+ 			     chainlink != NULL;
+ 			     chainlink = chainlink->next)