Bind configuration fails to lookup hostname but succeed with IP
<p>Going crazy here. This is a super simple bind setup which can reverse lookup but not resolve the IP of a name. </p>

<p>These are my (ridiculously) simple config files: </p>

<pre><code>root@dns:/etc/bind/zones# cat db.192.168.1 
;
; BIND reverse data file for local loopback interface
;
$TTL    604800
@   IN  SOA dns.mycompany.com. admin.mycompany.com. (
              3     ; Serial
         604800     ; Refresh
          86400     ; Retry
        2419200     ; Expire
         604800 )   ; Negative Cache TTL
; name servers - NS records
      IN      NS      dns.mycompany.com.

; PTR Records
20   IN      PTR     dns.mycompany.com.         ; 192.168.1.20
149  IN      PTR     myharbor.mycompany.com.    ; 192.168.1.149




root@dns:/etc/bind/zones# cat db.mycompany.com 
$TTL    604800
@       IN      SOA     dns.mycompany.com. admin.mycompany.com. (
              3       ; Serial
         604800     ; Refresh
          86400     ; Retry
        2419200     ; Expire
         604800 )   ; Negative Cache TTL
;
; name servers - NS records
    IN      NS      dns.mycompany.com.

; A records
dns.mycompany.com.            IN      A       192.168.1.20
myharbor.mycompany.com.       IN      A       192.168.1.149
</code></pre>

<p>If I do a lookup of the IP it works just fine:</p>

<pre><code>root@dns:/etc/bind/zones# nslookup 192.168.1.149
Server:     192.168.1.20
Address:    192.168.1.20#53

149.1.168.192.in-addr.arpa  name = myharbor.mycompany.com.
</code></pre>

<p>However if I lookup the name... it fails:</p>

<pre><code>root@dns:/etc/bind/zones# nslookup myharbor.mycompany.com
;; Got SERVFAIL reply from 192.168.1.20, trying next server
Server:     192.168.1.20
Address:    192.168.1.20#53

** server can't find myharbor.mycompany.com: SERVFAIL
</code></pre>

<p>I am sure it's something idiotic. Can I lend another pair of eyes here? </p>

<p>Thanks. </p>