voici mes quelques fichiers de config:
named.conf:
options {
directory "/var/bind";
listen-on-v6 { none; };
listen-on { 127.0.0.1; };
// if you have problems and are behind a firewall:
//query-source address * port 53;
pid-file "/var/run/named/named.pid";
forward first;
forwarders {
62.4.16.70;
62.4.17.109;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost";
allow-update { none; };
notify no;
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "pri/127.0.0";
allow-update { none; };
notify no;
};
zone "prophetix.com" {
type master;
file "/var/bind/prophetix.com.hosts";
allow-transfer {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
notify yes;
also-notify {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
allow-query {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
};
zone "frenchgeek.com" {
type master;
file "/var/bind/frenchgeek.com.hosts";
allow-transfer {
127.0.0.1;
80.67.173.197;
80.67.173.18;
};
notify yes;
also-notify {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
allow-query {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
};
server 80.67.173.196 {
transfers 9999;
};
------------------
prophetix.com.hosts
$ORIGIN .
$TTL 86400 ; 1 day
prophetix.com IN SOA prophetix.com. root.prophetix.com. (
2002090303
3600
300
172800
43200 )
IN NS serveur.prophetix.com.
IN MX 10 serveur.prophetix.com.
$ORIGIN prophetix.com.
$TTL 86400 ; 1 day
serveur.prophetix.com. IN A 62.212.106.46
localhost IN A 127.0.0.1
ftp IN CNAME serveur.prophetix.com.
www IN CNAME serveur.prophetix.com.
mail IN CNAME serveur.prophetix.com.
prophetix.com. IN A 62.212.106.46
montexte.prophetix.com. IN TXT "prout"
------------------------
frenchgeek.com.hosts
$ORIGIN .
$TTL 86400 ; 1 day
prophetix.com IN SOA frenchgeek.com. root.frenchgeek.com. (
2002090308
3600
300
172800
43200 )
frenchgeek.com. IN NS serveur.prophetix.com.
IN MX 10 serveur.prophetix.com.
$ORIGIN prophetix.com.
$TTL 86400 ; 1 day
serveur.prophetix.com. IN A 62.212.106.46
localhost.frenchgeek.com. IN A 127.0.0.1
ftp.frenchgeekcom. IN CNAME serveur.prophetix.com.
www.frenchgeek.com. IN CNAME serveur.prophetix.com.
mail.frenchgeek.com. IN CNAME serveur.prophetix.com.
frenchgeek.com. IN A 62.212.106.46
montexte.frenchgeek.com. IN TXT "prout"
-----------------------------
Bon c'est bien le bordel, je l'accorde mais un peu d'aide exterieure serait le bienvenue.
Code: Select all

