Salut a tous,
comme je fais une utilisation serveur de ma connexion Internet (web,ftp…) j ai achete mon nom de domaine officiel chez Gandi: toto.net
J ai configure mon BIND en lui ajoutant une nouvelle zone toto.net.
Or quqnd je fais un test en local, impossible de resoudre:
[code]root@malibu:/# nslookup
server localhost
Default server: localhost
Address: 127.0.0.1#53
toto.net
Server: localhost
Address: 127.0.0.1#53
** server can’t find toto.net: SERVFAIL
[/code]
Pourtant, avec une autre resolution, ca marche:
[code]> free.fr
Server: localhost
Address: 127.0.0.1#53
Non-authoritative answer:
Name: free.fr
Address: 212.27.48.10
[/code]
Voici comment est configure mon fichier de zone (82.228.. etant mon IP publique delivree par FREE)
[code]@IN SOA ns1.toto.net. root.toto.net. (
2007051801 ; serial
7200 ; refresh
1200 ; retry
3600000 ; expire
7200 ; ttl
)
toto.net. IN NS ns.toto.net.
;
toto.net. IN MX 10 smtp.toto.net.
;
ns.toto.net IN MX 10 smtp.toto.net.
;
localhost IN A 127.0.0.1
;
www IN A 82.228..
smtp IN A 82.228..
ns IN A 82.228..
;
mailrelay IN CNAME smtp
;[/code]
Une idee ?
Merci
