problems with BIND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello to Everybody

I've configured an (only!!) internal experimental DNS (home.net) for my LAN.
the machine (FC3, bind 9.2.5 rel.3) is called fedora3.home.net
(192.168.0.50) I've added a W2000 (zenone.home.net, 192.168.0.20) as an
experimental client pointing to fedora3 as DNS.

here's my /var/named/chroot/etc/named.conf file:


options {
	directory "/var/named";
	dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
};
acl "mylan" {
	127/8; 192.168.0.0/24;
};
controls {
	inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
view "inside" {
	match-clients { "mylan"; };
	recursion yes;
	zone "." IN {
	type hint;
	file "named.ca";
	};

	zone "0.168.192.in-addr.arpa" IN {
	type master;
	file "homelan.db";
	};

	zone "home.net" {
	type master;
	file "db.home.net.inside";
	};
};
include "/etc/rndc.key";

that's my homelan.db for the reverse lookups:

$TTL	86400
@	IN	SOA	0.0.168.192.in-addr.arpa.	root.fedora3.home.net. (
					2005101501 ; Serial
					28800      ; Refresh
					14400      ; Retry
					3600000    ; Expire
					86400 )    ; Minimum

	IN	NS	0.0.168.192.in-addr.arpa.
1	IN	PTR	fedora3.home.net.
2	IN	PTR	zenone.home.net.

;EOF

and that's is my db.home.net.inside

$TTL	86400
@	IN	SOA	home.net.	root.fedora3.home.net. (
					2005101501 ; Serial
					28800      ; Refresh
					14400      ; Retry
					3600000    ; Expire
					86400 )    ; Minimum

; Name Servers
		IN	NS		fedora3.home.net.

; Mail Server for Domain
		IN	MX	10	fedora3.home.net.

; Public Servers
fedora3		IN	A		192.168.0.50

; Private Clients on the LAN
zenone		       IN	A		192.168.0.20

;EOF

the problems are the following:

(1)
the command
host fedora3 (or host zenone) 
fails with the following message:

Host fedora3 not found: 2(SERVFAIL)


host fedora3.home.net (or host zeone.home.net)

works OK instead.

(2) 

the command

nslookup zenone.home.net
works OK

the command

nslookup 192.168.0.20

fails with the following error message:

Server:         192.168.0.50
Address:        192.168.0.50#53

** server can't find 20.0.168.192.in-addr.arpa: NXDOMAIN


thanks a lot in advance for your reply

bye

Fabiano


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux