Probleme configuration Bind9

Bonjour !
j ai besoin de votre aide car j’eu suivi le tuto "http://talweg.univ-metz.fr/notalweg:installationlenny"
et apres les installations une fois le bind9 installer et configurer quand je redemarre bind9 j ai le message
"rndc : connect failed : 127.0.0.1#953"
svp aider moi

Rq:je suis nouveau linuxien

Salut, Ce n’est pas en postant plusieurs fois que tu aura plus de réponses… probleme-configuration-notalweg-t32685.html

Ton problème n’est pas un problème de NoTalweg, mais un problème de Bind9
Change le titre de ton post STP.

As-tu cherché un peu ?
google.mg/search?sourceid=ch … .0.1%23953

je vais changer de titre juste aprés mais c’est aprés avoir essayé de trouver une solution pendant plusieurs heures que je me suis tourné sur ce forum

Bonsoir!
j ai probleme apres avoir configurer mon dns et quand je redemarre bind9 j ai le message
"rndc : connect failed : 127.0.0.1#953"
svp aider moi!

Salut,
Qu’est-ce qu’il y a dans les logs ?

Il va falloir donner tes fichiers de conf aussi.

Si tu ne donne pas plus d’infos et si tu ne dit pas ce que tu as essayé pour résoudre le problème tu n’aura pas de réponses…
Nous ne sommes pas devins! :wink:

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.

Salut,

Pour être complet, il manque les logs.
Les lignes qui concernent “named” dans /var/log/syslog après une tentative de démarrage de bind9

Bonsoir !

voici les lignes concernant named

Apr 5 22:54:02 test named[2284]: starting BIND 9.6-ESV-R4 -u bind
Apr 5 22:54:02 test named[2284]: built with ‘–prefix=/usr’ ‘–build=i486-linux-gnu’ ‘–host=i486-linux-gnu’ ‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’ ‘–sysconfdir=/etc/bind’ ‘–localstatedir=/var/run/bind’ ‘–enable-threads’ ‘–enable-largefile’ ‘–with-libtool’ ‘–enable-shared’ ‘–enable-static’ ‘–with-openssl=/usr’ ‘–with-gssapi=/usr’ ‘–with-gnu-ld’ ‘–with-dlz-postgres=no’ ‘–with-dlz-mysql=no’ ‘–with-dlz-bdb=yes’ ‘–with-dlz-filesystem=yes’ ‘–with-dlz-ldap=yes’ ‘–with-dlz-stub=yes’ ‘–enable-ipv6’ ‘build_alias=i486-linux-gnu’ ‘host_alias=i486-linux-gnu’ ‘CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -DNS_RUN_PID_DIR=0 -O2’ ‘LDFLAGS=’ ‘CPPFLAGS=’ ‘CXXFLAGS=-g -O2’ 'FFLAGS=-g -O2’
Apr 5 22:54:02 test named[2284]: adjusted limit on open files from 1024 to 1048576
Apr 5 22:54:02 test named[2284]: found 1 CPU, using 1 worker thread
Apr 5 22:54:02 test named[2284]: using up to 4096 sockets
Apr 5 22:54:02 test named[2284]: loading configuration from '/etc/bind/named.conf’
Apr 5 22:54:02 test named[2284]: /etc/bind/named.conf.options:22: ‘options’ redefined near 'options’
Apr 5 22:54:02 test named[2284]: loading configuration: already exists
Apr 5 22:54:02 test named[2284]: exiting (due to fatal error)

Merci d’avance pour ton aide

Salut,

Manifestement ligne 22 de ton fichier /etc/bind/named.conf.options il y a une erreur…

Bonsoir!
Trés juste j avais fais copier coller et j avais pas rectifier au niveau du fichier
je te remercie ca marche maitena
juste un peti souci il n arrive pa a faire la resolution
j’explique j ai deux carte reseaux
eth0 relier a mon modem (accés internet de orange)
eth1 pour mon reseau local 10.13.0.1


test:/etc/bind# /etc/init.d/bind9 restart

Stopping domain name service…: bind9.
Starting domain name service…: bind9.
test:/etc/bind# nslookup

10.13.0.1
Server: 192.168.235.2
Address: 192.168.235.2#53

** server can’t find 1.0.13.10.in-addr.arpa.: NXDOMAIN

merci d’avance

merci pour ton aide lollll(lol)
ca marche

Salut,

Résolu ? --> Coche verte