Bug 111613

Summary: Alias entries (CNAME fields) reversed
Product: [Fedora] Fedora Reporter: Frank Solensky <frank>
Component: redhat-config-bindAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-29 11:40:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
Proposed fix none

Description Frank Solensky 2003-12-06 15:02:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016

Description of problem:
CNAME records are not written out correctly.  

Version-Release number of selected component (if applicable):
redhat-config-bind-2.0.0-18

How reproducible:
Always

Steps to Reproduce:
1. Select a zone (e.g.: localhost)
2. Select 'add record', then the 'alias' tab
3. Enter the alias name (e.g.: myalias)
4. Select target hostname (e.g.: 1D.localhost)
5. OK, save results exit
    

Actual Results:
The entry in the zone file is as follows:
  1D.localhost.  IN CNAME  myalias


Expected Results:
  myalias  IN CNAME  1D.localhost.


Additional info:
Editing zone files causes existing aliases to be saved incorrectly as
well.

Comment 1 Frank Solensky 2003-12-06 15:52:00 UTC
Created attachment 96382 [details]
Proposed fix

CNAME class out() was writing fields in incorrect order ('alias' is the target,
not the alias name).

Comment 2 Daniel Walsh 2003-12-29 11:40:00 UTC
Try system-config-bind-2.0.2-1 (Rename) from RawHide a lot of problems
have been fixed.

Dan