Salut à tous,

J'ai installer un server dns (bind) et un server dhcp (dhcpd) sur ma machine.
Cette machine doit me permettre de faire la résolution de nom, ip des servers de mon réseaux et des clients qui obtiennent leur adresse ip via dhcp.

Avec un nslookup:
La machine mentionner dans la zone réponde.
Les machines client dhcp windows réponde.
Les machines client linux ne réponde pas !!!!

Si quelqu'un pourrais m'aider ce serait super sympa ...

merci à tous,


dhcp.conf
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
# dhcpd.conf
 
include "/etc/rndc.key";
 
ddns-update-style interim;
ddns-updates on;
ddns-domainname "consulting-network.lan";
ddns-rev-domainname "in-addr.arpa";
authoritative;
deny duplicates;
ignore declines;
 
 
default-lease-time 600;
max-lease-time 7200;
option routers 192.168.10.1 ;
option domain-name-servers 192.168.10.2;
option domain-name "consulting-network.lan";
 
subnet 192.168.10.0 netmask 255.255.255.0 {
 range 192.168.10.100 192.168.10.150;
 option subnet-mask 255.255.255.0;
 option broadcast-address 192.168.10.255;
}
 
zone consulting-network.lan. {
primary 192.168.10.2;
key rndckey;
}
 
zone 10.168.192.in-addr.arpa. {
primary 192.168.10.2;
key rndckey;
}
named.conf
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
include "/etc/rndc.key";
 
options {
        directory "/var/named";
        version "SECRET";
};
 
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
 
zone "." IN {
        type hint;
        file "caching-example/named.ca";
};
 
zone "localhost" IN {
        type master;
        file "caching-example/localhost.zone";
        allow-update { none; };
};
 
zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "caching-example/named.local";
        allow-update { none; };
};
zone "consulting-network.lan." IN {
        type master;
        file "consulting-network.lan.pri";
        allow-update { key rndckey; };
};
 
zone "10.168.192.in-addr.arpa" IN {
        type master;
        file "consulting-network.lan.rev";
        allow-update { key rndckey; };
};
zone
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
@ 86400         IN      SOA     dhcpdns.consulting-network.lan. admin.consulting-network.lan. (
                                2006071120 ; serial
                                28800      ; refresh (8 hours)
                                14400      ; retry (4 hours)
                                3600000    ; expire (5 weeks 6 days 16 hours)
                                86400      ; minimum (1 day)
                                )
@               IN      NS      dhcpdns.consulting-network.lan.
localhost       IN      A       127.0.0.1
denver          IN      A       192.168.10.1
dhcpdns         IN      A       192.168.10.2
hotel           IN      A       192.168.10.4