<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 06.05.2016 22:18, Sean Hogan wrote:<br>
</div>
<blockquote
cite="mid:201605062018.u46KIcIK032661@d01av04.pok.ibm.com"
type="cite">
<p>Yes sir..<br>
<br>
Dynamic update value is set to true on both test.local and the
reverse zone.<br>
<br>
Form what Robert mentioned I am looking at the install logs now.<br>
<br>
<br>
So this is where DNS update is bombing:<br>
2016-04-26T16:31:08Z DEBUG args=/usr/bin/nsupdate -g
/etc/ipa/.dns_update.txt<br>
2016-04-26T16:31:08Z DEBUG stdout=<br>
2016-04-26T16:31:08Z DEBUG stderr=; Communication with "Correct
DNS server IP"#53 failed: <br>
operation canceled<br>
could not talk to any default name server<br>
</p>
</blockquote>
That is weird, maybe do you have allowed TCP/53? It may try to use
TCP instead of UDP<br>
<br>
And please check on "Correct DNS server" if there is any logged
entry about dynamic update from client (journalctl -u
named[-pkcs11])<br>
<br>
Martin<br>
<blockquote
cite="mid:201605062018.u46KIcIK032661@d01av04.pok.ibm.com"
type="cite">
<p><br>
2016-04-26T16:31:08Z DEBUG nsupdate failed: Command
'/usr/bin/nsupdate -g /etc/i<br>
pa/.dns_update.txt' returned non-zero exit status 1<br>
2016-04-26T16:31:08Z ERROR Failed to update DNS records.<br>
<br>
And this is where SSHFP updates are bombing:<br>
2016-04-26T16:31:09Z DEBUG args=/usr/bin/nsupdate -g
/etc/ipa/.dns_update.txt<br>
2016-04-26T16:31:09Z DEBUG stdout=<br>
2016-04-26T16:31:09Z DEBUG stderr=; Communication with "Correct
DNS server IP"#53 failed: <br>
operation canceled<br>
could not talk to any default name server<br>
<br>
2016-04-26T16:31:09Z DEBUG nsupdate failed: Command
'/usr/bin/nsupdate -g /etc/i<br>
pa/.dns_update.txt' returned non-zero exit status 1<br>
2016-04-26T16:31:09Z WARNING Could not update DNS SSHFP records.<br>
2016-04-26T16:31:09Z DEBUG args=/sbin/service nscd status<br>
2016-04-26T16:31:09Z DEBUG stdout=<br>
2016-04-26T16:31:09Z DEBUG stderr=nscd: unrecognized service<br>
<br>
<br>
So it looks like it can not talk to port 53 but nslookup is
working fine from the box and outputting the server response as
the correct dns ip which is in the logs<br>
Server: correct IP of DNS server <br>
Address: correct IP of DNS server#53<br>
<br>
Name: dingle.test.local<br>
Address: correct ip of dingle<br>
<br>
reoslv.conf has 1st listing as the same ip as in the logs and
nslookup result.<br>
<br>
Sean Hogan<br>
<br>
<br>
<br>
<br>
<br>
<img src="cid:part1.E57A4D1F.F2C0A345@redhat.com" alt="Inactive
hide details for Martin Basti ---05/06/2016 12:25:59
PM---Hello, records are updated by nslookup do you have
allowed d" border="0" height="16" width="16"><font
color="#424282">Martin Basti ---05/06/2016 12:25:59
PM---Hello, records are updated by nslookup do you have
allowed dynamic updates in the zone settings?</font><br>
<br>
<font color="#5F5F5F" size="2">From: </font><font size="2">Martin
Basti <a class="moz-txt-link-rfc2396E" href="mailto:mbasti@redhat.com"><mbasti@redhat.com></a></font><br>
<font color="#5F5F5F" size="2">To: </font><font size="2">Sean
Hogan/Durham/IBM@IBMUS, freeipa-users
<a class="moz-txt-link-rfc2396E" href="mailto:freeipa-users@redhat.com"><freeipa-users@redhat.com></a></font><br>
<font color="#5F5F5F" size="2">Date: </font><font size="2">05/06/2016
12:25 PM</font><br>
<font color="#5F5F5F" size="2">Subject: </font><font size="2">Re:
[Freeipa-users] SSHFP upload</font><br>
</p>
<hr style="color:#8091A5; " align="left" size="2" width="100%"
noshade="noshade"><br>
<br>
<br>
<font size="4">Hello, records are updated by nslookup</font>
<p><font size="4">do you have allowed dynamic updates in the zone
settings?</font></p>
<p><font size="4">Martin</font></p>
<p><br>
<font size="4">On 06.05.2016 21:18, Sean Hogan wrote:</font></p>
<ul>
<ul>
<font size="4">Hi All,<br>
<br>
Wondering if someone knows how the SSHFPs of a box are
getting uploaded to IPA during </font><font face="Luxi
Serif" size="5">ipa-client-install --enable-dns-updates</font><font
size="4">? Is it going over port 389,636,22? <br>
<br>
Have an issue that on one network my enrolls work fine and
everything gets updated. A new network was put in place but
still part of the same domain and I get SSHFP failed to
upload. I was assuming this has something to do with DNS but
Network team says bi directional port 53 is good and I can
nslookup. Both new and old networks point to the same IPA
DNS server for enrolling. The IPs of the new network still
fall in my reverse zone.<br>
<br>
So My DNS is setup with:<br>
test.local<br>
10.in-addr.arpa <br>
<br>
and the IP scheme for new net is 10.5.x.x, old net is
10.35.x.x <br>
<br>
<br>
<br>
Results of current Network<br>
<br>
</font>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr valign="top">
<td width="431"><font face="sans" color="#1A1A1A"
size="4">Enrolled in IPA realm TEST.LOCAL<br>
Created /etc/ipa/default.conf<br>
New SSSD config will be created<br>
Configured sudoers in /etc/nsswitch.conf<br>
Configured /etc/sssd/sssd.conf<br>
Configured /etc/krb5.conf for IPA realm TEST.LOCAL<br>
trying </font><a moz-do-not-send="true"
href="https://rtpvxl0068.watson.local/ipa/xml"><b><u><font
face="sans" color="#0000FF" size="4">https://bob.test.local/ipa/xml</font></u></b></a><font
face="sans" color="#1A1A1A" size="4"> <br>
Forwarding 'env' to server u'</font><a
moz-do-not-send="true"
href="https://bob.test.local/ipa/xml"><u><font
face="sans" color="#0000FF" size="4"><a class="moz-txt-link-freetext" href="https://bob.test.local/ipa/xml">https://bob.test.local/ipa/xml</a></font></u></a><font
face="sans" color="#1A1A1A" size="4">'<br>
DNS server record set to: dingle.test.local -> IP
of dingle<br>
Adding SSH public key from
/etc/ssh/ssh_host_dsa_key.pub<br>
Adding SSH public key from
/etc/ssh/ssh_host_rsa_key.pub<br>
Forwarding 'host_mod' to server u'</font><a
moz-do-not-send="true"
href="https://bob.test.local/ipa/xml"><u><font
face="sans" color="#0000FF" size="4"><a class="moz-txt-link-freetext" href="https://bob.test.local/ipa/xml">https://bob.test.local/ipa/xml</a></font></u></a><font
face="sans" color="#1A1A1A" size="4">'<br>
SSSD enabled<br>
Configuring test.local as NIS domain<br>
Configured /etc/openldap/ldap.conf<br>
NTP enabled<br>
Configured /etc/ssh/ssh_config<br>
Configured /etc/ssh/sshd_config<br>
Client configuration complete. </font></td>
</tr>
</tbody>
</table>
<font size="4"><br>
<br>
<br>
Results of New network </font>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr valign="top">
<td width="431"><font face="sans" color="#1A1A1A"
size="4">Enrolled in IPA realm TEST.LOCAL<br>
Attempting to get host TGT...<br>
Created /etc/ipa/default.conf<br>
New SSSD config will be created<br>
Configured sudoers in /etc/nsswitch.conf<br>
Configured /etc/sssd/sssd.conf<br>
Configured /etc/krb5.conf for IPA realm TEST.LOCAL<br>
trying </font><a moz-do-not-send="true"
href="https://rtpvxl0068.watson.local/ipa/xml"><b><u><font
face="sans" color="#0000FF" size="4">https://bob.test.local/ipa/xml</font></u></b></a><font
face="sans" color="#1A1A1A" size="4"> <br>
Forwarding 'env' to server u'</font><a
moz-do-not-send="true"
href="https://bob.test.local/ipa/xml"><u><font
face="sans" color="#0000FF" size="4"><a class="moz-txt-link-freetext" href="https://bob.test.local/ipa/xml">https://bob.test.local/ipa/xml</a></font></u></a><font
face="sans" color="#1A1A1A" size="4">'<br>
Failed to update DNS records.<br>
Adding SSH public key from
/etc/ssh/ssh_host_rsa_key.pub<br>
Adding SSH public key from
/etc/ssh/ssh_host_dsa_key.pub<br>
Forwarding 'host_mod' to server u'</font><a
moz-do-not-send="true"
href="https://bob.test.local/ipa/xml"><u><font
face="sans" color="#0000FF" size="4"><a class="moz-txt-link-freetext" href="https://bob.test.local/ipa/xml">https://bob.test.local/ipa/xml</a></font></u></a><font
face="sans" color="#1A1A1A" size="4">'<br>
Could not update DNS SSHFP records.<br>
SSSD enabled<br>
Configuring test.local as NIS domain<br>
Configured /etc/openldap/ldap.conf<br>
NTP enabled<br>
Configured /etc/ssh/ssh_config<br>
Configured /etc/ssh/sshd_config<br>
Client configuration complete </font><font size="4"><br>
<br>
<br>
</font></td>
</tr>
</tbody>
</table>
<font size="4"><br>
<br>
<br>
Sean Hogan<br>
<br>
<br>
</font>
</ul>
</ul>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>