Code:server-105:~ serveradmin$ rndc -V status status create task enabling log channel WARNING: key file (/opt/local/etc/rndc.key) exists, but using default configuration file (/opt/local/etc/rndc.conf) create parser get key for server get config key list decode base64 secret post event using server 127.0.0.1 (127.0.0.1#953) create message render message parse message create message render message parse message version: BIND 9.18.21 (Extended Support Version) <id:cb6cff6> running on localhost: Darwin Power Macintosh 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC boot time: Tue, 13 Feb 2024 14:59:01 GMT last configured: Tue, 13 Feb 2024 14:59:02 GMT configuration file: /opt/local/etc/named.conf CPUs found: 1 worker threads: 1 UDP listeners per interface: 1 number of zones: 104 (99 automatic) debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is ON recursive clients: 0/900/1000 tcp clients: 0/150 TCP high-water: 0 server is up and running server-105:~ serveradmin$
Code:server-105:~ serveradmin$ named -V BIND 9.18.21 (Extended Support Version) <id:cb6cff6> running on Darwin Power Macintosh 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC built by make with '--prefix=/opt/local' '--disable-silent-rules' '--mandir=/opt/local/share/man' '--with-openssl=/opt/local' '--with-libidn2=/opt/local' '--enable-doh' '--with-dlopen=no' '--with-jemalloc=no' 'CC=/opt/local/bin/gcc-mp-7' 'CFLAGS=-pipe -Os -I/opt/local/include/LegacySupport -arch ppc' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc' 'CPPFLAGS=-I/opt/local/include -I/opt/local/include/LegacySupport' compiled by GCC 7.5.0 compiled with OpenSSL version: OpenSSL 3.1.5 30 Jan 2024 linked to OpenSSL version: OpenSSL 3.1.5 30 Jan 2024 compiled with libuv version: 1.44.2 linked to libuv version: 1.44.2 compiled with libnghttp2 version: 1.59.0 linked to libnghttp2 version: 1.59.0 compiled with libxml2 version: 2.11.6 linked to libxml2 version: 21106 compiled with json-c version: 0.17 linked to json-c version: 0.17 compiled with zlib version: 1.3.1 linked to zlib version: 1.3.1 threads support is enabled DNSSEC algorithms: RSASHA1 NSEC3RSASHA1 RSASHA256 RSASHA512 ECDSAP256SHA256 ECDSAP384SHA384 ED25519 ED448 DS algorithms: SHA-1 SHA-256 SHA-384 HMAC algorithms: HMAC-MD5 HMAC-SHA1 HMAC-SHA224 HMAC-SHA256 HMAC-SHA384 HMAC-SHA512 TKEY mode 2 support (Diffie-Hellman): yes TKEY mode 3 support (GSS-API): yes default paths: named configuration: /opt/local/etc/named.conf rndc configuration: /opt/local/etc/rndc.conf DNSSEC root key: /opt/local/etc/bind.keys nsupdate session key: /opt/local/var/run/named/session.key named PID file: /opt/local/var/run/named/named.pid named lock file: /
Since it's a new bind9 version those syntax are invalid. Just need to tweek my config files... But it's up and running.
I also had to hack the launchclt org.isc.named.plist. Couldn't get macports to load bind9. Well, actually does run but the after a few minutes it fails, can't bind to interface. So, I made my own. /Library/LaunchDaemons/org.isc.named.plist. Also, removed Apples plist version so Server Admin doesn't load it.
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>org.isc.named</string> <key>ProgramArguments</key> <array> <string>/opt/local/sbin/named</string> <string>-f</string> <string>-c</string> <string>/opt/local/etc/named.conf</string> </array> </dict> </plist>
Change file permissions to named:named and some are root:named. I'll need further testing.
TIA
The PR is rebased to updated version of bind9: https://github.com/macports/macports-ports/pull/22639
Hopefully gets merged soon.