(no subject)

LourdesT at aol.com LourdesT at aol.com
Mon Jul 3 21:02:51 UTC 2000


I have just compiled and installed BIND 8.2.2p5 on a Sun Ultra5 running 
Solaris 7.  The network has no connectivity to the outside world/Internet.  
BIND will be used for internal name resolution only.  I have followed the 
O'Reilly book on how to setup the data and config files for BIND.  The 
problem that I am having is that when I use nslookup to test my installation, 
I get the following:

Server: localhost
Address: 127.0.0.1

instead of returning  "labultra5-a.jlic.com" and it's IP address.

I have pasted the BIND data and config files below:



__________________________
Db.jlic.com data file  (partial file)


$TTL 0d
jlic.com. IN SOA labultra5-a.jlic.com. administrator.jlic.com. (
           20070203;Serial
           10800 ;
           3600 ;
           604800 ) ;
;Name servers
;
jlic.com.   IN NS   labultra5-a.jlic.com.
jlic.com.   IN NS   labultra5-b.jlic.com.
;
;Canonical Names
;
localhost.jlic.com. IN A    127.0.0.1
labultra5-a.jlic.com.   IN A    172.22.1.1
labultra5-a.jlic.com.   IN A    172.22.1.2
labultra5-b.jlic.com. IN A  172.17.1.73




_________________________
Db.127.0.0 File (complete file)

$TTL 0d
0.0.127.in-addr.arpa. IN SOA labultra5-a.jlic.com. administrator.jlic.com. (
  20070202 ; Serial
  10800   ; refresh after 3 hours
  3600    ;retry after 1 hour
  604800 ) ; expire after 1 week

0.0.127.in-addr.arpa.   IN NS   labultra5-a.jlic.com.
0.0.127.in-addr.arpa.   IN NS   labultra5-b.jlic.com.
1.0.0.127.in-addr.arpa. IN PTR localhost.


____________________________
Db.172.22.1 File

$TTL 0d
1.22.172.in-addr.arpa.  IN SOA labultra5-a.jlic.com. administrator.jlic.com. (
  20070203 ; Serial
  10800  ; Referesh
  3600     ; Retry
  604800   )  ; Expire
;
;Name Servers
1.22.172.in-addr.arpa.  IN NS   labultra5-a.jlic.com.
1.17.172.in-addr.arpa.  IN NS   labultra5-b.jlic.com.
;
;Addresses point to canonical name
;
1.1.22.172.in-addr.arpa.    IN  PTR labultra5-a.jlic.com.
73.1.17.172.in-addr.arpa.   IN  PTR labultra5-b.jlic.com.

_______________________________
db.cache File (complete file)

; db.cache file
.   999999      IN  NS  labultra5-a.jlic.com.
;
labultra5-a.jlic.com.   999999  IN  A   172.22.1.1

________________________________

named.conf File

logging {
  channel my_syslog {
     syslog daemon;
     severity info;
  };
  channel my_file {
     file "log.msgs" ;
  };

  category statistics {my_syslog; my_file; };
  category queries { my_file; } ;
};
options {
 directory "/var/named";
};
zone "jlic.com" {
 type master;
 file "db.jlic";
};
zone "1.22.172.in-addr.arpa" {
 type master;
 file "db.172.22.1";
};
zone "0.0.127.in-addr.arpa" {
 type master;
 file "db.127.0.0";
};
zone "." {
 type hint;
 file "db.cache";
};


_____________________________
resolv.conf File

nameserver 172.22.1.1
localhost 127.0.0.1
domain jlic.com



_____________________________


I have tried using DIG, but get the error message "DIG not found", even with 
the proper PATH to DIG.  So if I've missed a step in executing DIG, please 
let me know.

Thanks.  I would appreciate any assistance.






More information about the bind-users mailing list