[MacPorts] #62493: dns-server doesn't create an "rndc.conf" file

MacPorts noreply at macports.org
Fri Mar 19 16:46:03 UTC 2021


#62493: dns-server doesn't create an "rndc.conf" file
----------------------------+------------------------
 Reporter:  steven-michaud  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:
 Keywords:                  |       Port:  dns-server
----------------------------+------------------------
 It does create an "rndc.key" file in /opt/local/var/named, and adds a
 "control" to allow rndc to access the bind daemon on ::1 port 54. But rndc
 won't work without an "rndc.conf" file.

 I've had good luck with the following "rndc.conf". It requires that you
 invoke rndc using sudo, but that should be considered a feature instead of
 a bug.

 {{{
 include "/opt/local/var/named/rndc.key";
 options {
         default-key "rndc-key";
         default-server ::1;
         default-port 54;
 };
 }}}

 I'm working on macOS 11.2.3. My MacPorts bind9 distro is "bind9 @9.16.12".

-- 
Ticket URL: <https://trac.macports.org/ticket/62493>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list