<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    hello!<br>
    <br>
    I have a small network. i have a real dns internet for my domain.
    patrikx3.tk via freedns.afraid.org. works.<br>
    i setup a small local domain so i am not using the internet ip but
    the bind server. i need the local ips.<br>
    it works via bind all my clients.<br>
    the problem only on my server itself when i use:<br>
    ping patrikx3.tk<br>
    it should return 192.168.78.20<br>
    but instead it is using the open internet ip address.<br>
    <br>
    how can i force that my ns server localhost on the server itself it
    use the local network instead internet ip addresses?<br>
    <br>
    <b>setup latest bind9.10 i think, all </b><b>default, i just added
      these:<br>
      <br>
    </b><b>named.conf.options:<br>
    </b>options {<br>
            directory "/var/cache/bind";<br>
    <br>
            // If there is a firewall between you and nameservers you
    want<br>
            // to talk to, you may need to fix the firewall to allow
    multiple<br>
            // ports to talk.  See <a class="moz-txt-link-freetext" href="http://www.kb.cert.org/vuls/id/800113">http://www.kb.cert.org/vuls/id/800113</a><br>
    <br>
            // If your ISP provided one or more IP addresses for stable<br>
            // nameservers, you probably want to use them as forwarders.<br>
            // Uncomment the following block, and insert the addresses
    replacing<br>
            // the all-0's placeholder.<br>
    <br>
    //      forwarders {<br>
    //              0.0.0.0;<br>
    //      };<br>
    <br>
    //        forwarders {<br>
    //                8.8.8.8;<br>
    //                8.8.4.4;<br>
    //        };<br>
    <br>
           
//========================================================================<br>
            // If BIND logs error messages about the root key being
    expired,<br>
            // you will need to update your keys.  See
    <a class="moz-txt-link-freetext" href="https://www.isc.org/bind-keys">https://www.isc.org/bind-keys</a><br>
           
//========================================================================<br>
            dnssec-validation auto;<br>
    <br>
            auth-nxdomain no;    # conform to RFC1035<br>
            listen-on-v6 { any; };<br>
    <br>
    };<br>
    <br>
    <b><br>
    </b><b>name.conf.local:</b><br>
    zone "patrikx3.tk" {<br>
      type master;<br>
       file "/etc/bind/zones/db.patrikx3.tk";<br>
    };<br>
    <br>
    <b>zones/</b><b>db.patrikx3.tk:</b><br>
    TTL    604800<br>
    @       IN      SOA     ns1.patrikx3.tk. .  (<br>
                                  5         ; Serial<br>
                             604800         ; Refresh<br>
                              86400         ; Retry<br>
                            2419200         ; Expire<br>
                             604800   )     ; Negative Cache TTL<br>
    ;<br>
    <br>
    ; Name servers<br>
    patrikx3.tk.    IN      NS      ns1.patrikx3.tk.<br>
    <br>
    ; A records for name servers<br>
    ns1             IN      A       192.168.78.20<br>
    <br>
    ; Other A records<br>
    @               IN      A       192.168.78.20<br>
    www             IN      A       192.168.78.20<br>
    mail            IN      A       192.168.78.20<br>
    router          IN      A       192.168.78.20<br>
    server          IN      A       192.168.78.20<br>
    address-book    IN      A       192.168.78.20<br>
    fortune-cookie  IN      A       192.168.78.20<br>
    torrent         IN      A       192.168.78.20<br>
    test            IN      A       192.168.78.20<br>
    mysql           IN      A       192.168.78.20<br>
    <br>
    laptop          IN      A       192.168.78.4<br>
    resume.laptop   IN      A       192.168.78.4<br>
    <br>
    workstation     IN      A       192.168.78.2<br>
    resume.workstation IN   A       192.168.78.2<br>
    <br>
  </body>
</html>