git: 5215e40c4bf8 - main - dns/blocky: Modernize config sample syntax, set queryLog to none

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 01 Mar 2026 20:34:22 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5215e40c4bf896f4d27eef11cee7f4a8a1908cd9

commit 5215e40c4bf896f4d27eef11cee7f4a8a1908cd9
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-03-01 20:32:04 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-03-01 20:34:10 +0000

    dns/blocky: Modernize config sample syntax, set queryLog to none
    
    Reported by:    diizzy
---
 dns/blocky/Makefile                       |  1 +
 dns/blocky/files/blocky-config.yml.sample | 23 +++++++++++++++--------
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile
index 4c56a7e0aa68..c2ff14241a93 100644
--- a/dns/blocky/Makefile
+++ b/dns/blocky/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	blocky
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.29.0
+PORTREVISION=	1
 CATEGORIES=	dns
 
 MAINTAINER=	eduardo@FreeBSD.org
diff --git a/dns/blocky/files/blocky-config.yml.sample b/dns/blocky/files/blocky-config.yml.sample
index aae167cd4a9f..39794437fd4a 100644
--- a/dns/blocky/files/blocky-config.yml.sample
+++ b/dns/blocky/files/blocky-config.yml.sample
@@ -1,14 +1,21 @@
-upstream:
-  default:
-    - 1.1.1.1
-    - tcp-tls:fdns1.dismail.de:853
-    - https://dns.digitale-gesellschaft.ch/dns-query
+upstreams:
+  groups:
+    default:
+      - 8.8.8.8
+      - 1.1.1.1
+      - https://dns.digitale-gesellschaft.ch/dns-query
+
+queryLog:
+  type: none
+
 blocking:
-  blackLists:
+  denylists:
     ads:
       - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
   clientGroupsBlock:
     default:
       - ads
-port: 53
-httpPort: 4000
+
+ports:
+  dns: 53
+  http: 4000