Proobleme de bind9

voici named.conf

[code]zone “localhost” {
type master;
file “/etc/bind/db.local”;
};

zone “127.in-addr.arpa” {
type master;
file “/etc/bind/db.127”;
};

zone “0.in-addr.arpa” {
type master;
file “/etc/bind/db.0”;
};

zone “255.in-addr.arpa” {
type master;
file “/etc/bind/db.255”;
};
zone “mylan.” {
type master;
file “/etc/bind/db.mylan”;
};
zone “1.168.192.in-addr.arpa” {
type master;
file “/etc/bind/db.inv.mylan”;
};
[/code]

voici le db.mylan:

[code]$TTL 3h
@ IN SOA ns.mylan. root.mylan.(
2007102006
8H
2H
1W
1D )
@ IN NS ns.mylan.

@ IN MX 10 mail.mylan.
@ IN A 192.168.1.20
ns IN A 192.168.1.30
mail IN A 192.168.1.30
jcking IN A 192.168.1.30
skynet IN A 192.168.1.20

[/code]
et voici le db.inv.mylan

[code]$TTL 3h
@ IN SOA ns.mylan. root.mylan. (
2007102008
8H
2H
1W
1D )
@ IN NS ns.mylan.
@ IN MX 10 mail.mylan.

30 IN PTR ns.mylan.
20 IN PTR skynet.mylan.
30 IN PTR mail.mylan.
30 IN PTR jcking.mylan.
~
~
[/code]

et voici se qu il fait quand je tape:

[code]# nslookup

set type=NS
mylan
jcking:/etc/bind# nslookup
set type=NS
mylan
Server: 192.168.1.30
Address: 192.168.1.30#53

** server can’t find mylan: SERVFAIL

[/code]

connais tu les boutons “quote” et “code” en haut de la case quand tu postes un message ?
Tu sélectionne la partie que tu veux mettre en forme, tu cliques sur le bouton, et hop, ça devient lisible et on a soudain envie de te répondre. :wink:

c’est mieux comme ca !!!
:slightly_smiling:

[quote="j

[code]# nslookup

set type=NS
mylan
jcking:/etc/bind# nslookup
set type=NS
mylan
Server: 192.168.1.30
Address: 192.168.1.30#53

** server can’t find mylan: SERVFAIL

[/code][/quote]
Normal, ma machine mylan n’existe pas…

Tapes ns.mylan par exemple