<div dir="ltr"><div>the change for the bug seems more reasonable, that get the ips for hostname in server side then comparet with the incoming client&#39;s ip. So, we don&#39;t need the DNS reverse lookup for the incoming client&#39;s IP.<br>

</div>But the fix is well tested and ready to backport? <br><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=915153" target="_blank"></a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 2:07 PM, shwetha <span dir="ltr">&lt;<a href="mailto:spandura@redhat.com" target="_blank">spandura@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Refer to bug :
      
      <a href="https://bugzilla.redhat.com/show_bug.cgi?id=915153" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=915153</a><br>
      <br>
      On 12/04/2013 11:11 AM, Cool wrote:<br>
    </div>
    <blockquote type="cite">
      
      Means you&#39;d better use IP instead of host name, or you have to ask
      your DNS administrator to setup reverse DNS (PTR record) for those
      IPs, which may involve your upstream ISP, or even more complicated
      than that ...<br>
      <br>
      <a href="http://en.wikipedia.org/wiki/Reverse_DNS_lookup" target="_blank">http://en.wikipedia.org/wiki/Reverse_DNS_lookup</a><br>
      <br>
      - C.B.<br>
      <div>On 12/3/2013 9:24 PM, Mingfan Lu
        wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div><br>
            host(a.b.c.d) I got,<br>
            Host a.b.c.d.in-addr.arpa. not found: 3(NXDOMAIN)<br>
            <br>
          </div>
          a.b.c.d stands for the ip address of my client.<br>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote"> On Wed, Dec 4, 2013 at 1:18 PM, Cool
            <span dir="ltr">&lt;<a href="mailto:coolbsd@hotmail.com" target="_blank">coolbsd@hotmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Wild guess -<br>
                <br>
                How about DNS revert delegation? Try &quot;host &lt;IP&gt;&quot;
                to see if it can be mapped back to &quot;hostname1&quot; then
                there should be something wrong, otherwise you have DNS
                problem.<br>
                <br>
                -C.B.<br>
                <br>
                P.S. I guessed because I believe whenever a connection
                comes in, the server does not know anything other than
                IP and port.<br>
                <br>
                <div>On 12/3/2013 8:38 PM, Mingfan Lu wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div>In the gluster nodes, I could ping the clients
                      using the hostnames. So, DNS wouldn&#39;t be the root
                      cause.<br>
                    </div>
                    the clients could also resolve the hostnames (ping
                    is ok)<br>
                    <div><br>
                    </div>
                  </div>
                  <div class="gmail_extra"> <br>
                    <br>
                    <div class="gmail_quote">On Wed, Dec 4, 2013 at
                      11:52 AM, Sharuzzaman Ahmat Raslan <span dir="ltr">&lt;<a href="mailto:sharuzzaman@gmail.com" target="_blank">sharuzzaman@gmail.com</a>&gt;</span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        <div dir="ltr">
                          <div>How is your DNS setting?<br>
                            <br>
                          </div>
                          Could your client resolve the hostname?<br>
                        </div>
                        <div class="gmail_extra"><br>
                          <br>
                          <div class="gmail_quote">On Wed, Dec 4, 2013
                            at 11:49 AM, Mingfan Lu <span dir="ltr">&lt;<a href="mailto:mingfan.lu@gmail.com" target="_blank">mingfan.lu@gmail.com</a>&gt;</span>
                            wrote:<br>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div dir="ltr">
                                <div>
                                  <div>
                                    <div>
                                      <div>I tried to set auth.allow
                                        using hostnames (not IPs) of
                                        clients <br>
                                        such as <br>
                                      </div>
                                      gluster volume set VOLUME
                                      auth.allow
                                      hostname1,hostname2,hostname3<br>
                                      <br>
                                      But the clients could not mount
                                      the volume<br>
                                    </div>
                                    If I use IPs, it defintely works.<br>
                                  </div>
                                  But for my clients use DHCP, so I
                                  don&#39;t think using IPs is a good idea
                                  for they could be changed but
                                  hostnames of them wouldn&#39;t. <br>
                                  <br>
                                </div>
                                Any comments?<br>
                                <div>
                                  <div>
                                    <div><br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <br>
_______________________________________________<br>
                              Gluster-users mailing list<br>
                              <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
                              <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><span><font color="#888888"><br>
                                </font></span></blockquote>
                          </div>
                          <span><font color="#888888"><br>
                              <br clear="all">
                              <br>
                              -- <br>
                              Sharuzzaman Ahmat Raslan </font></span></div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
                </blockquote>
                <br>
                <br>
                <br>
                <hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
                <table style="border-collapse:collapse;border:none">
                  <tbody>
                    <tr>
                      <td style="border:none;padding:0px 15px 0px 8px">
                        <a href="http://www.avast.com/" target="_blank">
                          <img border="0"> </a>
                      </td>
                      <td>
                        <p style="color:#3d4d5a;font-family:&quot;Calibri&quot;,&quot;Verdana&quot;,&quot;Arial&quot;,&quot;Helvetica&quot;;font-size:12pt">
                          This email is free from viruses and malware
                          because <a href="http://www.avast.com/" target="_blank">avast!

                            Antivirus</a> protection is active. </p>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      <br>
      <hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
      <table style="border-collapse:collapse;border:none">
        <tbody>
          <tr>
            <td style="border:none;padding:0px 15px 0px 8px"> <a href="http://www.avast.com/" target="_blank"> <img src="http://static.avast.com/emails/avast-mail-stamp.png" border="0"> </a> </td>
            <td>
              <p style="color:#3d4d5a;font-family:&quot;Calibri&quot;,&quot;Verdana&quot;,&quot;Arial&quot;,&quot;Helvetica&quot;;font-size:12pt"> This email is free from viruses and
                malware because <a href="http://www.avast.com/" target="_blank">avast! Antivirus</a>
                protection is active. </p>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
    <br>
  </div>

</blockquote></div><br></div>