Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bind 9 double entries in master reverse zone 1

Status
Not open for further replies.

anonimous

IS-IT--Management
Sep 22, 2003
31
CH
hi

I'm using DNS Server BIND 9.2.2 on linux SuSE 8.2 as an internal DNS server with DDNS for ca. 200 WIN2000 clients.
DDNS is working. WIN2000 DHCP Server 10.41.1.150 register all WIN2000 clients by DNS as forward and reverse, but some IP have 2 entries in the master reverse zone, for example:

# nslookup 10.41.2.2
Server: 127.0.0.1
Address: 127.0.0.1#53

2.2.41.10.in-addr.arpa name = nzh12091.
2.2.41.10.in-addr.arpa name = WK1200.blue.net.

in the master forward zone is only one entry !

why happens that ?

my BIND config file (named.conf):

options {
directory "/var/lib/named";
multiple-cnames no;
cleaning-interval 60;
datasize default;
stacksize default;
coresize default;
files unlimited;
# recursion yes;

listen-on port 53 { 10.41.1.10; };

listen-on-v6 { any; };

#allow-query { 127.0.0.1; };

notify no;
};

zone "." in {
type hint;
file "root.hint";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};

# You can insert further zone records for your own domains below.

zone "ns1.blue.net" {
type master;
file "/var/lib/named/ns1.blue.net.hosts";
also-notify {
192.168.0.5;
};
};

zone "blue.net" {
type master;
file "/var/lib/named/blue.net.hosts";
allow-update {
10.41.0.0/22;
192.168.0.0/24;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "0.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.0.rev";
allow-update {
10.41.0.0/22;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "1.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.1.rev";
allow-update {
10.41.0.0/22;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "2.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.2.rev";
allow-update {
10.41.1.150;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "3.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.3.rev";
allow-update {
10.41.0.0/22;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

regards
hi

I'm using DNS Server BIND 9.2.2 on linux SuSE 8.2 as an internal DNS server with DDNS for ca. 200 WIN2000 clients.
DDNS is working. WIN2000 DHCP Server 10.41.1.150 register all WIN2000 clients by DNS as forward and reverse, but some IP have 2 entries in the master reverse zone, for example:

# nslookup 10.41.2.2
Server: 127.0.0.1
Address: 127.0.0.1#53

2.2.41.10.in-addr.arpa name = nzh12091.
2.2.41.10.in-addr.arpa name = WK1200.blue.net.

in the master forward zone is only one entry !

why happens that ?

my BIND config file (named.conf):

options {
directory "/var/lib/named";
multiple-cnames no;
cleaning-interval 60;
datasize default;
stacksize default;
coresize default;
files unlimited;
# recursion yes;

listen-on port 53 { 10.41.1.10; };

listen-on-v6 { any; };

#allow-query { 127.0.0.1; };

notify no;
};

zone "." in {
type hint;
file "root.hint";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};

# You can insert further zone records for your own domains below.

zone "ns1.blue.net" {
type master;
file "/var/lib/named/ns1.blue.net.hosts";
also-notify {
192.168.0.5;
};
};

zone "blue.net" {
type master;
file "/var/lib/named/blue.net.hosts";
allow-update {
10.41.0.0/22;
192.168.0.0/24;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "0.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.0.rev";
allow-update {
10.41.0.0/22;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "1.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.1.rev";
allow-update {
10.41.0.0/22;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "2.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.2.rev";
allow-update {
10.41.1.150;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};

zone "3.41.10.in-addr.arpa" {
type master;
file "/var/lib/named/10.41.3.rev";
allow-update {
10.41.0.0/22;
127.0.0.1;
};
also-notify {
192.168.0.5;
};
};
 
I didn't take a great deal of time to read everything, but why are you updating 127.0.0.1??? That's the localhost?!

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
thanks thedaver

You are completely right !

kind regards
anonimous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top