<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 2/23/2011 4:08 AM, babu dheen wrote:
    <blockquote cite="mid:376404.95499.qm@web137305.mail.in.yahoo.com"
      type="cite">
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td style="font: inherit;" valign="top">
              <div>Hi,</div>
              <div> </div>
              <div> Our setup is; We have internal DNS server wherein
                BIND is configured in RHEL 5 and many internal zones are
                configured. if Internet connection is down, our Internal
                DNS severs are not able to get the DNS query from ISP
                DNS server. Because of this, all users are not able to
                access many critical application hosted in internet.</div>
              <div> </div>
              <div> Now we would like to add those critical applicaton
                DNS entries in our internal DNS server HOST file. So
                that if internet link is down, users will be able to get
                the IP address of the URL through host file.</div>
            </td>
          </tr>
        </tbody>
      </table>
    </blockquote>
    If the names of these "critical applications" reside in zones that
    you own, you should probably set yourself up as a stealth slave for
    those zones. If they're in someone else's zones, and being a stealth
    slave is impractical, then you could play a dangerous game by
    maintaining a "fake" version of the zone yourself (defined as
    "master"). Dangerous because the IPs could change without any notice
    and then your data is instantly invalid. But, I suppose that isn't
    any worse than hosts-file entries, right?<br>
    <blockquote cite="mid:376404.95499.qm@web137305.mail.in.yahoo.com"
      type="cite">
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td style="font: inherit;" valign="top">
              <div> </div>
              <div>is there any option in BIND to give priority to HOST
                file before connecting it to internet ISP or local zone?</div>
              <div> </div>
            </td>
          </tr>
        </tbody>
      </table>
    </blockquote>
    Nope, BIND doesn't control whether a process looks in the hosts file
    or not.<br>
    <br>
                                                                       
                                                                       
    - Kevin<br>
  </body>
</html>