Bug 461409

Summary: host(1) is unable to handle IDN domains on non-UTF8 terminals
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: bindAssignee: Adam Tkac <atkac>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: atkac, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-17 08:05:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Scheck 2008-09-07 11:55:07 UTC
Description of problem:
host(1) is unable to handle IDN domains on non-UTF8 terminals, see below:

$ echo $LANG
de_DE@euro
$

$ host dänic.de
dänic.de has address 81.90.194.14
Host dänic.de not found: 3(NXDOMAIN)
Host dänic.de not found: 3(NXDOMAIN)
$

As it seems, the recoding from UTF-8 -> ISO-8859-1 is missing somewhere
which also causes the NXDOMAIN errors then. Once the character "ä" gets
"ä", it's UTF-8 on a non-UTF8 terminal, so the recoding is broken - as
far as I can remember, this ever was case since IDN support in host(1)
is enabled now. Can we please get rid of this before F10? :)

Version-Release number of selected component (if applicable):
bind-utils-9.5.1-0.5.b1

How reproducible:
Everytime, see above.

Actual results:
host(1) is unable to handle IDN domains on non-UTF8 terminals.

Expected results:
Working handling of IDN domains on UTF-8 and non-UTF8 terminals.

Comment 1 Adam Tkac 2008-09-16 12:33:30 UTC
Could you please test if http://kojiweb.fedoraproject.org/koji/taskinfo?taskID=827912 works as expected? Thanks

Comment 2 Robert Scheck 2008-09-16 19:00:39 UTC
Yes, now it works for me as expected:

$ echo $LANG
de_DE@euro
$

$ host dänic.de
dänic.de has address 81.90.194.14
$

Can we please get this fix into Fedora and also into upstream?

Comment 3 Adam Tkac 2008-09-17 07:39:00 UTC
(In reply to comment #2)
> Yes, now it works for me as expected:

Thanks for feedback

Comment 4 Adam Tkac 2008-09-17 08:05:32 UTC
fixed in bind-9.5.1-0.6.b1.fc10