Bug 714049

Summary: bind-utils, nsupdate omits localhost being 127.0.0.1
Product: Red Hat Enterprise Linux 6 Reporter: Petr Sklenar <psklenar>
Component: bindAssignee: Adam Tkac <atkac>
Status: CLOSED NOTABUG QA Contact: Juraj Marko <jmarko>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: azelinka, nlevinki, ovasik
Target Milestone: rc   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-15 15:07:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Sklenar 2011-06-17 09:11:16 UTC
Description of problem:
it ends with 'timed out' when using localhost for nsupdate
127.0.0.1 needs to be used.

Version-Release number of selected component (if applicable):
bind-9.7.3-2.el6.i686
bind-utils-9.7.3-2.el6.i686

How reproducible:
deterministic

Steps to Reproduce:
0. # ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.066 ms

1. cat a_update 
server localhost
zone redhat.com.
prereq yxrrset test.redhat.com.                            IN      A
update delete test.redhat.com.                             IN      A
send
update add test.redhat.com.                86400           IN      A       1.2.3.4

2. nsupdate -g a_update
  
Actual results:

; Communication with ::1#53 failed: timed out
could not talk to specified name server

Expected results:
records are updated when localhost is used like a server.

Additional info:
when I replace localhost with 127.0.0.1 at a_update - then it works as expected. Issue is some of the scripts created in time of rhel5 doesn't work with rhel6.

rhel5=bind-9.3.6-16.P1.el5 + bind-utils-9.3.6-16.P1.el5
  it doesn't meter if I use localhost or 127.0.0.1
rhel6 omits localhost
=> Regression