Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 161011 - system-config-bind
Summary: system-config-bind
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-bind
Version: 4
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-06-19 18:55 UTC by Gustavo Marchetti
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-07-05 19:40:55 UTC

Attachments (Terms of Use)
error screen snapshots (deleted)
2005-06-19 18:55 UTC, Gustavo Marchetti
no flags Details

Description Gustavo Marchetti 2005-06-19 18:55:41 UTC
Description of problem:
Application error when try to save DNS configuration

Version-Release number of selected component (if applicable):
Fedora Core 4, system-config-bind-4.0.0-16_FC4 

How reproducible:
When attempt to insert a new connonical name (CNAME) record to an existing zone
and finish it clicking 'Save' button at main window.

Steps to Reproduce:
1. To run system-config-bind.
2. To select respective Internet Forwarding Zone.
3. Mouse right click, "Add..", "CNAME Alias"; at "CNAME Alias" window, inserting
'real.domainName.' at Domain Name text box, 'newCanonical.domainName.' at
Canonical Name text box.
4. 'Ok' button to confirm.
5. 'Save' at the main window to store new configuration.
Actual results:
After clicking Main Window 'Save' button, appears an Error window showing this
"DNS Zone File Save Error
Save of Zone File /var/named/chroot/var/named/myZone.db Failed:
dns_master_load: /var/named/chroot/var/named/myzone.db:lineNumberX
real.domainName: CNAME and other data
zone myZone/IN: loading master file /var/named/chroot/var/named/myZone.db: CNAME
ans other data"

Expected results:
Correct saving of DNS data and restart of DNS Server service.

Additional info:
Original configuration files....

[root@server named]# cat
@       SOA     server (    1
                                                1H )
        NS      server
server  IN      1H      A
speedstream     IN      1H      A
[root@server named]#

[root@server named]# cat
@       SOA     server (    1
                                                1H )
        NS      server
server  IN      1H      A
speedstream     IN      1H      A
        IN      1H      CNAME   router
[root@server named]#

Comment 1 Gustavo Marchetti 2005-06-19 18:55:41 UTC
Created attachment 115663 [details]
error screen snapshots

Comment 2 Jason Vas Dias 2005-07-05 19:40:55 UTC
Sorry for the delay in processing this bug report - I just got back
from vacation today.

This combination is actually an error:
speedstream     IN      1H      A
                IN      1H      CNAME   router

You cannot specify both an A or AAAA record for a DNS name AND a CNAME 
- it has to be one or the other.

The error message "CNAME and other data" comes from the
/sbin/named-checkzone program, and would in fact prevent your named 
process from resolving ANY names in that zone (SERVFAIL responses
would be returned for all names in ).
The same effect that you desire could be achieved by:
speedstream     IN      1H      A
router          IN      1H      CNAME   speedstream
So the system-config-bind program is correctly preventing you from
saving a configuration that contains a fatal error, and this problem
is not a bug.

Note You need to log in before you can comment on or make changes to this bug.