[MacPorts] #62494: dns-server can create a duplicate "domain" zone in named.conf

MacPorts noreply at macports.org
Fri Mar 19 16:56:09 UTC 2021


#62494: dns-server can create a duplicate "domain" zone in named.conf
----------------------------+------------------------
 Reporter:  steven-michaud  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:
 Keywords:                  |       Port:  dns-server
----------------------------+------------------------
 I've used dns-server to install and configure bind9 on a test server on my
 local (private) network. Its domain name includes the "private" TLD --
 "bagend.private". "named.conf.macports" contains the following two
 "zones":

 {{{
 zone "@domain at .private" IN {
         type master;
         file "db. at domain@.private";
         allow-transfer {
                 none;
         };
         allow-update {
                 none;
         };
 };
 }}}

 {{{
 zone "@domain at .@tld@" IN {
         type master;
         file "db. at domain@. at tld@";
         allow-transfer {
                 none;
         };
         allow-update {
                 none;
         };
 };
 }}}

 On my system this results in two identical zones being created in
 "named.conf". This is an error, and bind9 refuses to load until I remove
 one of them.

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


More information about the macports-tickets mailing list