Bug 1793332
| Summary: | dig and nslookup stopped using IDN on output by default when not run in tty | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Robin Hack <rhack> |
| Component: | bind | Assignee: | Petr Menšík <pemensik> |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | thozza |
| Target Milestone: | rc | Keywords: | Patch, Regression |
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-22 14:40:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This was intentional change of behavior in upstream by: https://gitlab.isc.org/isc-projects/bind9/merge_requests/984 The change is that when dig and nslookup detect that the stdout is not tty, it disables IDN output, unless +idnout is specified. After discussion with CEE and QE, we decided to keep the current upstream behavior and document the change in Release Notes. |
Description of problem: Different output of dig is provided when different destination (terminal vs non-terminal) are used and IDN is in game. Version-Release number of selected component (if applicable): bind-9.11.13-2.el8.x86_64 bind-utils-9.11.13-2.el8.x86_64 How reproducible: always Steps to Reproduce (please use attached test which are able to reproduce this): 1. Set up domain with IDN zone "xn--mnchen-3ya.test" IN { type master; file "named.localhost"; allow-update { none; }; }; 2. # no redirection - I received münchen $ dig @localhost xn--mnchen-3ya.test ... münchen.test. 86400 IN A 127.0.0.1 ... 3. # note redirection to pipe and then pass to grep $ dig @localhost xn--mnchen-3ya.test | grep test ... xn--mnchen-3ya.test. 86400 IN A 127.0.0.1 ... Actual results: Please, review steps for reproduce or use attached test. Expected results: I believe that output should be same Additional info: