Opened 3 years ago

Last modified 2 years ago

#62494 assigned defect

dns-server can create a duplicate "domain" zone in named.conf — at Initial Version

Reported by: steven-michaud (Steven Michaud) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: dns-server

Description

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@.private" IN {
        type master;
        file "db.@domain@.private";
        allow-transfer {
                none;
        };
        allow-update {
                none;
        };
};
zone "@domain@.@tld@" IN {
        type master;
        file "db.@domain@.@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.

Change History (0)

Note: See TracTickets for help on using tickets.