Je suis sous Debian avec un serveur BIND9 mes fichiers de conf: named.conf
options { directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default.
query-source address * port 53;
// If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder.
// forwarders { // 0.0.0.0; // };
auth-nxdomain no; # conform to RFC1035
};
// prime the server with knowledge of the root servers zone "." { type hint; file "/etc/bind/db.root"; };
// be authoritative for the localhost forward and reverse zones, and for // broadcast zones as per RFC 1912
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"; };
// add entries for other zones below here
zone "flexies.org" { type master; file "flexies.org.zone"; };
zone "flexies.info" { type master; file "flexies.info.zone"; };
flexies.org.zone
$TTL 86400 @ IN SOA mail.flexies.org. admin.flexies.org. ( 2005042302 86400 300 2592000 86400 )
; ENREGISTREMENTS "NS" mail.flexies.org. IN NS ns0 flexies.org. IN NS ns1 flexies.org. IN NS ns2
; ENREGISTREMENTS "A" mail IN A 82.254.197.87 ns0 IN A 212.27.32.176 ns1 IN A 212.27.32.177
; ENREGISTREMENTS "CNAME" www IN CNAME mail ftp IN CNAME mail smtp IN CNAME mail pop IN CNAME mail
; ENREGISTREMENTS "MX" flexies.org. IN MX 10 mail
Quand je ping flexies.org, aucun souci, tout répond, mais quand je ping mail.flexies.org, ca marche plus
Qqn pourrait me dire ce qui va pas dans ma configuration ?
nidoserver:/var/cache/bind# ping flexies.org PING flexies.org (82.254.197.87): 56 data bytes 64 bytes from 82.254.197.87: icmp_seq=0 ttl=64 time=1.6 ms 64 bytes from 82.254.197.87: icmp_seq=1 ttl=64 time=1.7 ms 64 bytes from 82.254.197.87: icmp_seq=2 ttl=64 time=2.4 ms
Marsh Posté le 23-04-2005 à 11:20:07
Je suis sous Debian avec un serveur BIND9
mes fichiers de conf:
named.conf
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
auth-nxdomain no; # conform to RFC1035
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
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";
};
// add entries for other zones below here
zone "flexies.org" {
type master;
file "flexies.org.zone";
};
zone "flexies.info" {
type master;
file "flexies.info.zone";
};
flexies.org.zone
$TTL 86400
@ IN SOA mail.flexies.org. admin.flexies.org. (
2005042302
86400
300
2592000
86400
)
; ENREGISTREMENTS "NS"
mail.flexies.org. IN NS ns0
flexies.org. IN NS ns1
flexies.org. IN NS ns2
; ENREGISTREMENTS "A"
mail IN A 82.254.197.87
ns0 IN A 212.27.32.176
ns1 IN A 212.27.32.177
; ENREGISTREMENTS "CNAME"
www IN CNAME mail
ftp IN CNAME mail
smtp IN CNAME mail
pop IN CNAME mail
; ENREGISTREMENTS "MX"
flexies.org. IN MX 10 mail
Quand je ping flexies.org, aucun souci, tout répond, mais quand je ping mail.flexies.org, ca marche plus
Qqn pourrait me dire ce qui va pas dans ma configuration ?
nidoserver:/var/cache/bind# ping flexies.org
PING flexies.org (82.254.197.87): 56 data bytes
64 bytes from 82.254.197.87: icmp_seq=0 ttl=64 time=1.6 ms
64 bytes from 82.254.197.87: icmp_seq=1 ttl=64 time=1.7 ms
64 bytes from 82.254.197.87: icmp_seq=2 ttl=64 time=2.4 ms
--- flexies.org ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.6/1.9/2.4 ms
nidoserver:/var/cache/bind# ping mail.flexies.org
ping: unknown host mail.flexies.org
nidoserver:/var/cache/bind#
Message édité par nidosaur le 23-04-2005 à 11:24:37