aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind9-devel
diff options
context:
space:
mode:
Diffstat (limited to 'dns/bind9-devel')
-rw-r--r--dns/bind9-devel/Makefile9
-rw-r--r--dns/bind9-devel/pkg-help8
2 files changed, 15 insertions, 2 deletions
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index 7bae40d4e3ff..fa22060c6908 100644
--- a/dns/bind9-devel/Makefile
+++ b/dns/bind9-devel/Makefile
@@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
PORTREVISION= 0
.else
# dns/bind9xx here
-PORTREVISION= 1
+PORTREVISION= 2
.endif
CATEGORIES= dns net ipv6
MASTER_SITES= LOCAL/mat/bind
@@ -81,7 +81,7 @@ OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1
OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
OPTIONS_DEFINE+= RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
- START_LATE
+ START_LATE TUNING_LARGE
OPTIONS_GROUP= DLZ
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -122,6 +122,7 @@ RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation
SSL_DESC= Build with OpenSSL (Required for DNSSEC)
START_LATE_DESC= Start BIND late in the boot process (see help)
+TUNING_LARGE_DESC= Tune named for large systems (**READ HELP**)
DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes
DLZ_BDB_USES= bdb
@@ -214,6 +215,10 @@ START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \
THREADS_CONFIGURE_ENABLE= threads
+TUNING_LARGE_IMPLIES= THREADS
+TUNING_LARGE_CONFIGURE_ON= --with-tuning=large
+TUNING_LARGE_CONFIGURE_OFF= --with-tuning=default
+
.include <bsd.port.pre.mk>
.if !${PORT_OPTIONS:MGOST} && !${PORT_OPTIONS:MGOST_ASN1}
diff --git a/dns/bind9-devel/pkg-help b/dns/bind9-devel/pkg-help
index aa85330b21d7..c303766037cb 100644
--- a/dns/bind9-devel/pkg-help
+++ b/dns/bind9-devel/pkg-help
@@ -28,3 +28,11 @@ and adding this line to /etc/fstab:
Most of the time, BIND needs to start early in the boot
process. Enable this if BIND starts too early for you and
you need it to start later.
+
+
+ TUNING_LARGE
+ https://kb.isc.org/article/AA-01314/0
+Tunes certain compiled-in constants and default settings to
+values better suited to large servers with 12/16GB+ of memory.
+This can improve performance on such servers, but will consume
+more memory and may degrade performance on smaller systems.