<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 23.02.2016 20:41, Olivier Cervello
      wrote:<br>
    </div>
    <blockquote
cite="mid:SN1PR0601MB1950B69BF4DDA1AA42ABCF09ABA40@SN1PR0601MB1950.namprd06.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hello,</p>
        <p><br>
        </p>
        <p>I am trying to delete DNS record with the <i>--updatedns</i>
          options of <i>ipa host-del</i> command.</p>
        <p>The steps I followed were:</p>
        <p><i><br>
          </i></p>
        <p><i>root@server$ kinit admin</i></p>
        <p><i>root@server$ ipa host-del <hostname> --updatedns</i></p>
        <p><i>'ipa: ERROR: <hostname>: host not found'.</i></p>
        <p><br>
        </p>
        <p>The following:</p>
        <p><br>
        </p>
        <p><i>ipa host-del <hostname></i> (without <i>--updatedns</i>
          flag) doesn't return this error.</p>
        <p><i>ipa dnsrecord-del <zone> <hostname></i> works
          fine as well, meaning I have permission to view and delete DNS
          records.
          <br>
        </p>
        <p><br>
        </p>
        <p>I think it might be related to the following issue:<br>
        </p>
        <p><a moz-do-not-send="true" title="Cmd+Click or tap to follow
            the link" id="LPlnk512178"
            href="https://fedorahosted.org/freeipa/ticket/4329">https://fedorahosted.org/freeipa/ticket/4329</a></p>
        <p><br>
        </p>
        <p>Please advise.</p>
        <p><br>
        </p>
        <p>Best,<br>
        </p>
        <p><br>
        </p>
        <p><br>
        </p>
        <div id="Signature">
          <div id="divtagdefaultwrapper" style="font-size:12pt;
            color:#000000; background-color:#FFFFFF;
            font-family:Calibri,Arial,Helvetica,sans-serif">
            <p><font face="Calibri,Arial,Helvetica,sans-serif" size="3"
                color="black"><span style="font-size:12pt;
                  background-color:white"></span></font></p>
            <font face="Calibri,Arial,Helvetica,sans-serif" size="3"
              color="black">
              <div style="margin-top:0; margin-bottom:0"><font
                  face="Arial,sans-serif" size="2" color="#8F8F8F"><span
                    style="font-size:15px">Olivier Cervello </span></font><font
                  face="Arial,sans-serif" size="2" color="#8F8F8F"><span
                    style="font-size:10pt">| DevOps Engineer</span></font><br>
              </div>
              <div style="margin:0"><font face="Calibri,sans-serif"
                  size="2"><span style="font-size:11pt"><font
                      face="Arial,sans-serif" size="1" color="#8F8F8F"><span
                        style="font-size:8pt">CCC Information Services
                        Inc.</span></font></span></font></div>
              <div style="margin:0"><font face="Calibri,sans-serif"
                  size="2"><span style="font-size:11pt"><font
                      face="Arial,sans-serif" size="1" color="#8F8F8F"><span
                        style="font-size:8pt">222 Merchandise Mart
                        Plaza, Suite 900 Chicago, IL 60654</span></font></span></font></div>
              <div style="margin:0"><font face="Calibri,sans-serif"
                  size="2"><span style="font-size:11pt"><font
                      face="Arial,sans-serif" size="1" color="#8F8F8F"><span
                        style="font-size:8pt"></span></font><font
                      face="Arial,sans-serif" size="1" color="#8F8F8F"><span
                        style="font-size:8pt">Cell : 312-918-6018</span></font></span></font></div>
              <div style="margin:0"><font face="Calibri,sans-serif"
                  size="2"><span style="font-size:11pt"><font size="2"
                      color="#7232AD"><span style="font-size:9pt"><u><a class="moz-txt-link-abbreviated" href="mailto:ocervello@cccis.com">ocervello@cccis.com</a></u></span></font></span></font></div>
            </font><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    Hello,<br>
    <br>
    if you are kinited as admin, it should work.<br>
    <br>
    I need more information, what is your zone, record and hostname
    which are failing.<br>
    <br>
    Or better, if you are willing to do some debugging<br>
    <br>
    1. please set debug=true in /etc/ipa/default.conf on server<br>
    2. apachectl graceful<br>
    3. execute host-del --updatedns<br>
    4. send us related entries from /var/log/httpd/error_log<br>
    5. remove debug line from default.conf and apachectl graceful<br>
    <br>
    Martin<br>
  </body>
</html>