<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">If all you are after is one of the
      final IP addresses (not the entire set), then using a "dumb"
      client might be easier. For instance, 'ping'.<br>
      <br>
      $ ping -q -c1 <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a><br>
      PING <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> (203.66.155.113): 56 data bytes<br>
      <br>
      <br>
      If you want to get more than one IP address, then you'll need an
      intelligent client such as 'host' or 'dig:<br>
      <br>
      $ host <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a><br>
      <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> has address 203.66.155.49<br>
      <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> has address 203.66.155.50<br>
      <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> has address 203.66.155.44<br>
      ...<br>
      <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> has address 203.66.155.45<br>
      <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> has IPv6 address 2404:6800:4008:c03::67<br>
      <br>
      <br>
      <br>
      On 10/20/14, 12:03 PM, Fajar A. Nugraha wrote:<br>
    </div>
    <blockquote
cite="mid:CAG1y0seOmr-up4wQEG7UBTZsHNrEq0fNAW8ccbiV_iksxiBh4Q@mail.gmail.com"
      type="cite">
      <pre wrap="">What are you using this for?

If it's part of a script, it might be easier to just use gethostbyname. For
example, in php: <a class="moz-txt-link-freetext" href="http://php.net/manual/en/function.gethostbyname.php">http://php.net/manual/en/function.gethostbyname.php</a> ,
Returns the IPv4 address or a string containing the unmodified hostname on
failure.

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>