Defining 2 Domains on 1 Nameserver
LourdesT at aol.com
LourdesT at aol.com
Mon Jul 24 15:03:24 UTC 2000
BACKGROUND:
I have defined a primary domain, jlic.com, and a subdomain, ldap.jlic.com, on
the same nameserver. There is a Cisco DistributedDirector that will load
balance two ldap servers. Cisco's DistributedDirector (dd.ldap.jlic.com)
must be defined as authoritative for the ldap.jlic.com domain. The
environment is a private network with no internet connectivity whatsoever.
PROBLEM:
When I perform nslookup for subdomain, ldap.jlic.com, I can only get
resolution if I enter "nslookup ldapserver1.ldap.jlic.com", but NOT "nslookup
ldapserver1". Can someone please review my files below to see where I went
wrong. Thanks.
DATA FILES:
db.jlic file
$TTL 0d
jlic.com. IN SOA dns01.jlic.com. administrator.jlic.com. (
20071902 ;Serial
3h ; refresh
1h ; retry
1w ; expire
1h ) ; negative caching ttl
;
;Name servers
;
jlic.com. IN NS dns01.jlic.com.
ldap.jlic.com. IN NS dd.ldap.jlic.com.
;
;Canonical Names
;
localhost.jlic.com. IN A 127.0.0.1
dns01.jlic.com. IN A 10.10.1.43
dns01.jlic.com. IN A 10.10.1.42
dd.ldap.jlic.com. IN A 10.10.1.51
_____________________________
db.ldap file
$TTL 0d
ldap.jlic.com. IN SOA dd.ldap.jlic.com. administrator.ldap.jlic.com. (
20071902 ;Serial
3h ; refresh
1h ; retry
1w ; expire
1h ) ; negative caching ttl
;Name servers
;
ldap.jlic.com. IN NS dd.ldap.jlic.com.
jlic.com. IN NS dns01.jlic.com.
;
dd.ldap.jlic.com. IN A 10.10.1.51
;Canonical Names
;
;localhost.ldap.jlic.com. IN A 127.0.0.1
;
;LDAP Servers
;
ldapserver1.ldap.jlic.com. IN A 10.10.0.37 ;ldap server lead dnet2 at
toco hills
ldapserver2.ldap.jlic.com. IN A 10.10.0.69 ;ldap server lead dnet6 at
toco hills
_____________________________
db.127.0.0 file
$TTL 0d
0.0.127.in-addr.arpa. IN SOA dns01.jlic.com. administrator.jlic.com. (
20071902 ; Serial
3h ; refresh after 3 hours
1h ; retry after 1 hour
1w ; expire
1h ) ; negative caching ttl
0.0.127.in-addr.arpa. IN NS dns01.jlic.com.
0.0.127.in-addr.arpa. IN NS dd.ldap.jlic.com.
1.0.0.127.in-addr.arpa. IN PTR localhost.
_____________________________
Db.10.10.1
$TTL 0d
1.10.10.in-addr.arpa. IN SOA dns01.jlic.com. administrator.jlic.com (
20071902 ; Serial
3h ; Refresh
1h ; Retry
1w ; expire
1h ) ; negative caching ttl
;
;Name Servers
1.10.10.in-addr.arpa. IN NS dns01.jlic.com.
1.10.10.in-addr.arpa. IN NS dd.ldap.jlic.com.
;
;Addresses point to canonical name
;
51.1.10.10.in-addr.arpa. IN PTR dd.ldap.jlic.com.
43.1.10.10.in-addr.arpa. IN PTR dns01.jlic.com.
42.1.10.10.in-addr.arpa. IN PTR dns01.jlic.com.
_____________________________
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 "ldap.jlic.com" {
type master;
file "db.ldap";
};
zone "1.10.10.in-addr.arpa" {
type master;
file "db.10.10.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 10.10.1.43
nameserver 127.0.0.1
domain jlic.com
_____________________________
; db.cache file
. 999999 IN NS dns01.jlic.com.
;
dns01.jlic.com. 999999 IN A 10.10.1.43
More information about the bind-users
mailing list