<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 05/01/2014 05:04 PM, Alchemist
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJGz+gnELf-Snr4kacCihVFnPEbU__1Hg=egYJa-TbX+qsvwQA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2014-05-01 23:52 GMT+03:00 Robert
            Moskowitz <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>&gt;</span>:<br>
            <blockquote class="gmail_quote">F20<br>
              <br>
              I put an IPv4 entry for a server in my /etc/hosts file. &nbsp;I
              can 'ping bob', but 'host bob' comes back with:<br>
              <br>
              Host bob not found: 3(NXDOMAIN)<br>
              <br>
              I have this vague memory from years back about a file that
              set precedence of hosts file and dns for fqdn lookup.
              &nbsp;Can't remember it of find it.<br>
              <br>
              Of course the problem might simply be the host command is
              incapable of processing the /etc/hosts file?<br>
              <br>
              thanks for any help on this.<span class=""><br>
                <br>
              </span></blockquote>
            <div><br>
            </div>
            <div>Check your /etc/host.conf for line<br>
              order hosts,bind<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    multi on<br>
    <br>
    <blockquote
cite="mid:CAJGz+gnELf-Snr4kacCihVFnPEbU__1Hg=egYJa-TbX+qsvwQA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>and /etc/nsswitch.conf for correct order<br>
            </div>
            <div>hosts: files dns<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname<br>
    <br>
    <blockquote
cite="mid:CAJGz+gnELf-Snr4kacCihVFnPEbU__1Hg=egYJa-TbX+qsvwQA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>&nbsp;However results may differ<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
  </body>
</html>