Bonjour,
j’ai un probleme avec mon serveur dns. lorsque je fais un ping NomMachine, ca me met “ping: unknown host sc-c435-vm47”. j’ai fais un named-checkconf, named-checkzone et ca me sort aucune erreur. Je sais plus quoi faire, c’est pourquoi je fais appel a vos connaissance !
Voici mes fichier de conf :
/etc/nsswitch.conf
[code]passwd: compat
group: compat
shadow: compat
hosts: bind files
networks: bind files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
[/code]
/etc/bind/named.conf.local
[code]zone “sti12bDebian.local” {
type master;
file “db.sti12bDebian.local”;
forwarders{};
};
zone “17.172.in-addr.arpa” {
type master;
file “db_inverse.sti12bDebian.local”;
forwarders{};
};
[/code]
/etc/bind/named.conf.options
[code]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.
allow-query {
172.17.0.0/16;
};
forwarders { 172.17.10.5; 172.17.10.6; };
auth-nxdomain no; # conform to RFC1035
};
[/code]
mes fichiers de zones:
direct /var/cache/bind/db.sti12bDebian.local
$TTL 3D
@ IN SOA sc-c435-vm44.sti12bDebian.local. MonMail. (
2008050504; serial
10800; refresh
3600; retry
604800; expire
3D; TTL
)
IN NS SC-C435-VM44.sti12bDebian.local.
IN A 172.17.223.44
SC-C435-VM44 IN A 172.17.223.44
SC-C435-VM47 IN A 172.17.223.47
SC-C435-VM41 IN A 172.17.223.41
inverse /var/cache/bind/db_inverse.sti12bDebian.local
$TTL 3D
@ IN SOA sc-c435-vm44.sti12bDebian.local. MonMail. (
2008050504; serial
10800; refresh
3600; retry
604800; expire
3D; TTL
)
@ IN NS sc-c435-vm44.sti12bDebian.local.
44.223 IN PTR SC-C435-VM44.sti12bDebian.local.
47.223 IN PTR SC-C435-VM47.sti12bDebian.local.
41.223 IN PTR SC-C435-VM41.sti12bDebian.local.
Svp, aidez moi… Je vois pas ce que je peux faire
Merci d’avance