Ipa Client Error/Warning = Command '/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt' returned non-zero exit status -6

Latest response

Date: 16 Dec 2013

Try to install ipa-client with command:
ipa-client-install --enable-dns-updates --mkhomedir -p admin -w xxxxyyyy

and got error / warning:
Failed to update DNS A record. (Command '/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt' returned non-zero exit status -6)

Detail Output:

Discovery was successful!
Hostname: testserver3.ipa.xxxxxx.com
Realm: ipa.xxxxxx.com
DNS Domain: ipa.xxxxxx.com
IPA Server: svripampr01.ipa.xxxxxx.com
BaseDN: dc=ipa,dc=xxxxxx,dc=co,dc=id


Continue to configure the system with these values? [no]: yes
Synchronizing time with KDC...

Enrolled in IPA realm ipa.xxxxxx.com
Created /etc/ipa/default.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm ipa.xxxxxx.com
Warning: Hostname (testserver3.ipa.xxxxxx.com) not found in DNS
Failed to update DNS A record. (Command '/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt' returned non-zero exit status -6)
Failed to stop the nscd daemon
SSSD enabled
NTP enabled
Client configuration complete.

Expected Result:
No Error, warning

Responses