unify v4 and v6 rules in named::primary