Code:
netstat -laputen | grep named
ne donne rien
voici les fichiers de confiurations
test:/home/barry# cat /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, BEFORE you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include “/etc/bind/named.conf.options”;
// 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 “my.talweg” {
type master;
file “/etc/bind/db.my.talweg”;
};
zone “0.10.13.in-addr.arpa” {
type master;
file “/etc/bind/db.my.talweg.inv”;
};
zone “0.in-addr.arpa” {
type master;
file “/etc/bind/db.0”;
};
zone “255.in-addr.arpa” {
type master;
file “/etc/bind/db.255”;
};
include “/etc/bind/named.conf.local”;
test:/home/barry# cat /etc/bind/db.my.talweg
$TTL 604800
@ IN SOA barry.my.talweg. root.barry.my.talweg. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS barry.my.talweg.
barry IN A 10.13.0.1
www IN CNAME 10.13.0.1
test:/home/barry# cat /etc/bind/db.my.talweg.inv
$TTL 604800
@ IN SOA barry.my.talweg. root.barry.my.talweg. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS barry.my.talweg.
1 IN PTR barry.my.talweg.