BIND 10 #1414: Zonemgr/secondary_zones[]/class required
BIND 10 Development
do-not-reply at isc.org
Tue Nov 22 17:37:07 UTC 2011
#1414: Zonemgr/secondary_zones[]/class required
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | Status: new
Priority: major | Milestone: Next-
Component: | Sprint-Proposed
configuration | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: Core | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
-------------------------------------+-------------------------------------
When I tried to add a new secondary zone for zonemgr, I found that
I needed to specify the zone's RR class explicitly, even if it has the
reasonable default of "IN":
I first added a new entry:
{{{
> config add Zonemgr/secondary_zones
> config show Zonemgr/secondary_zones
Zonemgr/secondary_zones[0]/class "IN" string (modified)
Zonemgr/secondary_zones[0]/name "nui.org" string (modified)
Zonemgr/secondary_zones[1]/class "IN" string (default)
Zonemgr/secondary_zones[1]/name "" string (default)
}}}
so far it's okay.
Then I set secondary_zones[1]/name:
{{{
> config show Zonemgr/secondary_zones
Zonemgr/secondary_zones[0]/class "IN" string (modified)
Zonemgr/secondary_zones[0]/name "nui.org" string (modified)
Zonemgr/secondary_zones[1]/class "IN" string (default)
Zonemgr/secondary_zones[1]/name "dyn.kame.net" string (modified)
}}}
still okay.
Since secondary_zones[1]/class has the default and I'm okay with it,
I thought I could just commit it, but it failed:
{{{
> config commit
Error: 'class'
Configuration not committed
}}}
and the error message was quite helpless (except that it seems to
indicate something related to 'class' (but the word 'class' has
a broad meaning)).
If I explicitly specified the RR class, commit succeeded:
{{{
> config set Zonemgr/secondary_zones[1]/class IN
> config commit
}}}
This is counter intuitive at the best. At the very least the error
message should be more helpful.
--
Ticket URL: <http://bind10.isc.org/ticket/1414>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list