no name resolution bind 9

newbie connected at panservice.it
Sat Jan 24 04:47:27 UTC 2004


Hi. I'm newbie about linux.
I'd like to configure dhcp + dns for name resolution into my lan and
for internet access from my linux pc and other 2 windows pc.

The problem is:
I cant ping machine in my domain by name (unknown host..)
I can ping outside (on internet)

I have installed and configured isc dhcp 3 and it seems to work...
My client receive ip and other options.

my dhcpd.conf is
-----------------------dhcpd.conf----------
ddns-rev-domainname "in-addr.arpa";
ddns-domainname "connected.it";
use-host-decl-names on;
option netbios-scope "CONNECTED";
option netbios-name-servers connected1;
option time-servers 192.168.10.1;
option domain-name-servers 192.168.10.1;
option domain-name "connected.it";
option broadcast-address 192.168.10.255;
option routers 192.168.10.254;
ddns-updates on;
ddns-update-style interim;


# LAN CONNECTED

# connected lan
shared-network connected {
	ddns-updates on;
	ddns-rev-domainname "in-addr.arpa";
	ddns-domainname "connected.it";
	# connected
	subnet 192.168.10.0 netmask 255.255.255.0 {
		ddns-updates on;
		ddns-domainname "connected.it";
		range 192.168.10.2 192.168.10.255;
		allow unknown-clients;
		}
	allow unknown-clients;
	authoritative;
	}
authoritative;
allow unknown-clients;
------------------end---------------------------------
(it was generated through webmin)

Bind 9 is installed and configured for auto-updates (but no updates)

my named.conf is

------------------------named.conf--------------------
acl "dhcp-clients" {192.168.10.0/24;};

options {
// pid-file "/var/run/named/named.pid";
	directory "/var/named";
	notify yes;

};



view "locale" {

	match-clients { 192.168.10.0/24; };
	recursion yes;
	
	zone "." {
		type hint;
		file "named.ca";
	};

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

	zone "connected.it" {
		type master;
		file "connected.it.locale";
		notify no;
		allow-query { any;};
		allow-transfer { any; };
		allow-update {dhcp-clients;};
	};

};

view "mondo" {

	match-clients {any;};
	recursion no;
	
	zone "." {
		type hint;
		file "named.ca";
	};

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

	zone "connected.it" {
		type master;
		file "connected.it.mondo";
		notify yes;
		allow-query {any;};
		allow-transfer { any; };
		allow-update { dhcp-clients;};
	};

};
--------------------------end---------------------
(generated through webmin too)

zone file view "locale-> connected.it"

------------------------zone file -----------------
$ORIGIN .
$TTL 172800 ; 2 days
connected.it IN SOA connected1.connected.it.
root.connected1.connected.it. (
2003021512 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS connected1.connected.it

connected1	IN	A	192.168.10.1
www		IN	A	194.242.61.181
mail		IN	A	194.242.61.83

server.connected.it.	IN	CNAME	connected1.connected.it.

connected1.connected.it.	IN	NS	connected1.
-----------------------------end--------------------------

I'm going to install samba too, but if i have't a good base I think it
will be more difficult....

I think there is a more simple configuration, but i've tried to delete
various part from config files whitout results.

Thanks in advance.

Marco


More information about the bind-users mailing list