Bug 111613 - Alias entries (CNAME fields) reversed
Summary: Alias entries (CNAME fields) reversed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-config-bind
Version: 1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-06 15:02 UTC by Frank Solensky
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-29 11:40:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed fix (416 bytes, patch)
2003-12-06 15:52 UTC, Frank Solensky
no flags Details | Diff

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


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