Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 10/05/2007, à 00:17

angelz

Comment installer et configurer BIND

Bon je commence par le debut

comment installer BIND pour me faire un serveur DNS necessaire je pense pour un mail serveur.

j'ai un réseau subdivisé en 7 sous réseaux.
192.168.1.0
192.168.2.0
192.168.3.0
192.168.4.0 --> c'est dans celui la qu'ens le serveur linux(apache, sql,samba,proftpd,pour le moment mais qui fera office aussi de DNS serveur et mailserveur.) adresse du serveur linux = 192.168.4.3 /24
192.168.5.0
192.168.6.0
192.168.7.0

/24

j'ai un routeur qui de sorti qui acquiere son adresse ip via dhcp mais j'ai une redirection no-ip.org du type xxx-xxx.no-ip.org

j'aimerai installer un serveur complet mais on va commencer par le commencement

BIND je pense ...

bon pour l'install ca va merci apt
mais la config je capte rien lol
peut tu m aider avecc info ci dessus.

on passera apres au mail serveur si tu ve bien m accompagne sur l installation complete

merci d avance

Hors ligne

#2 Le 10/05/2007, à 00:26

B@rtounet

Re : Comment installer et configurer BIND

Qu'est ce que tu comprend pas sur les tutos de bind ?

Tu déclare tes réseaux dans ton named.conf ainsi que la zone inverse...

puis tu cree un fichier db.tazone ou tu entre tous les enregistrements DNS ( cname, A, MX etc...)

Hors ligne

#3 Le 10/05/2007, à 02:00

angelz

Re : Comment installer et configurer BIND

ben c tout ca que je comprend pas lol

zone inverse c quoi exactement

et ou je dois cree db....et c quoi comme syntaxe un exemple avec un de mes sous reseaux par exemple smile

Hors ligne

#4 Le 10/05/2007, à 13:49

angelz

Re : Comment installer et configurer BIND

svp un petit peu d'aide smile
je bloque vraiment et mon boss me tanne lol

Hors ligne

#5 Le 10/05/2007, à 15:48

angelz

Re : Comment installer et configurer BIND

bon j'ai essayer de faire un named.conf
je vous met la config a votre avis ca va?

le nom de "domaine" xxx-xxx.no-ip.org doit il apparaitre dedans ?
merci de votre aide

// 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 "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

zone "1.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.1";
};

zone "2.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.2";
};



zone "3.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.3";
};

zone "4.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.4";
};

zone "5.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.5";
};

zone "6.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.6";
};

zone "7.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.7";
};

zone "255.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192.168.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
//  Because many of our users are uncomfortable receiving undelegated answers
//  from root or top level domains, other than a few for whom that behaviour
//  has been trusted and expected for quite some length of time, we have now
//  introduced the "root-delegations-only" feature which applies delegation-only
//  logic to all top level domains, and to the root domain.  An exception list
//  should be specified, including "MUSEUM" and "DE", and any other top level
//  domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";

Voila je sais pas ce que Vous en pensez?

et apres cela je dois faire quoi smile fichier db.tazone je comprend spas ou et que mettre dedans...
merci bcp

Hors ligne

#6 Le 10/05/2007, à 17:44

toissarg

Re : Comment installer et configurer BIND

voici un tuto tres complet ; si ça peux t'aider:
http://olange.developpez.com/articles/debian/installation-serveur-dedie/?page=sommaire


C'est parceque la vitesse de la lumière est supérieur à la vitesse du son, que certains paraissent brillants avant d'etre c.. .

Hors ligne

#7 Le 10/05/2007, à 18:07

angelz

Re : Comment installer et configurer BIND

ou lala c du costaud lol
mais ce que je ne comprends pas c en fait .

pour le moment quand je suis a distance j'ai access a mon site web heberger sous linux ici donc mais j'aimerai cree un serveur DNS ici

mais je ne sais comment rentrer le parametre pour ma redirection no-ip
dans le named.conf
de plus pour le domaine ici je peux utilise la redirection no-ip c a dire un truc du style xxx-xxx.no-ip.org?
pour que par exmple plus tard mon serveur de mail donnera au user une adresse du type user@xxx-xxx.no-ip.org ...

merci

Hors ligne

#8 Le 10/05/2007, à 18:12

littlepsylo

Re : Comment installer et configurer BIND

Si tu comprend pas ces tutos t'as pas fini de galérer car bind n'est pas si compliqué que ça en fait. Potasse un peu sa doc en ligne, tu comprendras peut être mieux. En tout cas, c'est ce que j'avais fait car suivre un tuto c'est bien mais comprendre de quoi ça parle c'est encore mieux wink


::IN W3C WE TRUST ::

Hors ligne

#9 Le 10/05/2007, à 18:33

angelz

Re : Comment installer et configurer BIND

ben mon but n'est pas forcement de maitriser au mieux car c pas mon travail en faite j'essaye de depanner donc j'aimerai surtout que ca marche wink

mais je vais quand meme potasser un peu mais c vrai qu 'une petite aide ca m aiderai smile

et tu a raison j'y connais pas gd chose en linux wink

Hors ligne

#10 Le 10/05/2007, à 19:30

dexinou

Re : Comment installer et configurer BIND

angelz a écrit :

ben mon but n'est pas forcement de maitriser au mieux car c pas mon travail en faite j'essaye de depanner donc j'aimerai surtout que ca marche wink

mais je vais quand meme potasser un peu mais c vrai qu 'une petite aide ca m aiderai smile

et tu a raison j'y connais pas gd chose en linux wink

C'est pas tellement de connaissances sur Linux, mais plutôt des connaissances en réseaux et comprendre  comment fonctionne un serveur dns, c'est général.

Comprendre comment les ip se changent en noms et inversément.
Bonne chance pour la suite smile

Dernière modification par dexinou (Le 10/05/2007, à 19:32)


Ubuntu 9.10 64bits ext4 ® Core 2 Duo
Unix..... il y a moins bien mais c'est plus cher.
Si t'as pas compris la réponse, pose mieux ta question.
Tutoriaux Linux, apache, pure-ftpd, bind, mysql, qmail...

Hors ligne

#11 Le 11/05/2007, à 17:38

angelz

Re : Comment installer et configurer BIND

vous aller dire que je suis vraiment lourd mais j'ai suivi le tuto ci dessus et Bind me dit

Starting domain name service... bind                                  [fail]

je vous met ici mes deux fichier de conf si vous voyez qlq chose qui cloche dite moi svp

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 "0.in-addr.arpa" {
	type master;
	file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
	type master;
	file "/etc/bind/db.255";
};

zone "angel-ces.no-ip.org" {
        type master;
        file "/etc/bind/db.angel-ces.no-ip.org";
};


// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
//  Because many of our users are uncomfortable receiving undelegated answers
//  from root or top level domains, other than a few for whom that behaviour
//  has been trusted and expected for quite some length of time, we have now
//  introduced the "root-delegations-only" feature which applies delegation-only
//  logic to all top level domains, and to the root domain.  An exception list
//  should be specified, including "MUSEUM" and "DE", and any other top level
//  domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";

db.angel-ces.no-ip.org

$ttl 86400
angel-ces.no-ip.org.   	IN      SOA     ns.telenet-ops.be. webmaster.angel-ces.no-ip.org. (
                    	   		2007051105
                 	       		21600
                	        	3600
                	        	604800
                	        	86400 )
angel-ces.no-ip.org.	IN      NS     		ns.telenet-ops.be.
angel-ces.no-ip.org.	IN      NS  	   	ns2.telenet-ops.be.
angel-ces.no-ip.org.	IN      MX	      	10 . 192.168.4.3
angel-ces.no-ip.org.	IN	A       	192.168.4.3
Server		IN	A		192.168.4.3
www		IN	A       	192.168.4.3
mail		IN	A       	192.168.4.3
smtp		IN	A       	192.168.4.3
pop 		IN	A       	192.168.4.3
pop3		IN	CNAME		Server
imap		IN	A       	192.168.4.3
sql		IN	A       	192.168.4.3
mysql		IN	A       	192.168.4.3
dns1         IN     A       192.168.4.3
ftp          IN     A       192.168.4.3

si quelqu un pouvais me debloquer ...

Dernière modification par angelz (Le 11/05/2007, à 17:57)

Hors ligne

#12 Le 11/05/2007, à 17:57

chicochoc

Re : Comment installer et configurer BIND

A tout hazard, installe Webmin sur ton serveur pour l'administrer cool

http://chicochoc.free.fr/


Ubuntu ... ensemble pour le Libre !
Partagez vos réussites ... elles en seront d'autant plus grande !
Mes expériences et solutions Ubuntu en ligne.
http://chicochoc.free.fr/

Hors ligne

#13 Le 11/05/2007, à 18:02

chicochoc

Re : Comment installer et configurer BIND

Je vais m'attaquer à ce sujet d'ici peu ... Je partagerai mes résultats big_smile

Courage tongue Windows est plus simple wink

Dans la configuration de ta carte réseau du serveur, penses à mettre 127.0.0.1 comme premier DNS. Sous Windows, c'est vitale quand il fait serveur DNS roll


Ubuntu ... ensemble pour le Libre !
Partagez vos réussites ... elles en seront d'autant plus grande !
Mes expériences et solutions Ubuntu en ligne.
http://chicochoc.free.fr/

Hors ligne

#14 Le 11/05/2007, à 18:15

angelz

Re : Comment installer et configurer BIND

j utilise deja webmin mai je trouve pas ca plus simple lol

Hors ligne

#15 Le 11/05/2007, à 18:42

B@rtounet

Re : Comment installer et configurer BIND

Compare ton DNS avec le mien..
http://bartounet.bart.free.fr/dotclear/index.php?2007/03/19/3-installation-d-un-serveur-dns-sous-linux-ubuntu

Loul il te manque la zone de résolution inverse

juste une question de logique, comment veux tu que ton DNS sache dans quels réseaux tu te trouve ...

Dernière modification par B@rtounet (Le 11/05/2007, à 18:44)

Hors ligne

#16 Le 11/05/2007, à 21:44

angelz

Re : Comment installer et configurer BIND

Dans ton exemple tu prends appart.lan est-ce que je peux utiliser angel-ces.no-ip.org ou est-ce que je dois prendre autre chose?

A savoir que je n'ai pas d ip fixe et que je sais acceder a mon serveur depuis internet qu avec l adresse angel-ces.no-ip.org

merci en fais c'est angel-ces.no-ip.org qui m ennuie je ne saispas quoi en faire wink dans la config je ve dire

Hors ligne

#17 Le 11/05/2007, à 23:10

B@rtounet

Re : Comment installer et configurer BIND

non tu peux le prendre,

Hors ligne

#18 Le 12/05/2007, à 12:30

angelz

Re : Comment installer et configurer BIND

reslt a tous

j'ai encore une fois essayer de reconfigurer mon Bind pffff
mais j'ai cette erreur maintenant qui concerne le rndc.key

qd je fait

sudo /etc/init.d/bind9 restart

voici le gentil mesage quej'ai

 * Stopping domain name service... bind
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of 
the command protocol, this host is not authorized to connect,
or the key is invalid.
   ...fail!
 * Starting domain name service... bind
   ...fail!

ici le named.conf

key "rndc-key" {
        algorithm hmac-md5;
        secret "WEvT7b5a6vIJ/MqprtuohA==";
};

controls {
        inet 127.0.0.1 port 953
        allow { 127.0.0.1; } keys { "rndc-key"; };
        };


include "/etc/bind/named.conf.options"; 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";
};

zone " angel-ces.no-ip.org " {
        type master;
        file "/etc/bind/db.angel-ces.no-ip.org";
};

zone "4.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.angel-ces.no-ip.org.inv";
};

// zone "2.168.192.in-addr.arpa" {
//        type master;
//        file "/etc/bind/db.appart.lan2.inv";
//};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
//  Because many of our users are uncomfortable receiving undelegated answers
//  from root or top level domains, other than a few for whom that behaviour
//  has been trusted and expected for quite some length of time, we have now
//  introduced the "root-delegations-only" feature which applies delegation-only
//  logic to all top level domains, and to the root domain.  An exception list
//  should be specified, including "MUSEUM" and "DE", and any other top level
//  domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";

db.angel-ces.no-ip.org

$TTL 3h
@       IN      SOA     ns.angel-ces.no-ip.org. hostmaster.angel-ces.no-ip.org. (
                                2007030701
                                8H
                                2H
                                1W
                                1D )

@       IN      NS      ns.angel-ces.no-ip.org.

@       IN      MX      10      mail.angel-ces.no-ip.org.

ns              IN      A       192.168.4.3
mail           IN      A       192.168.4.3
Serveur          IN      A       192.168.4.3
ftp             IN       A       192.168.4.3
www             IN       VNAME    Serveur

db.angel-cues.no-ip.org.inv

2$TTL 3h
@       IN      SOA     ns.angel-ces.no-ip.org. hostmaster.angel-ces.no-ip.org. (
                                2007030701
                                8H
                                2H
                                1W
                                1D )

@       IN      NS      ns.angel-ces.no-ip.org.

@       IN      MX      10      mail.angel-ces.no-ip.org.

101             IN      PTR     ns.angel-ces.no-ip.org.
101             IN      PTR     mail.angel-ces.no-ip.org.
101             IN      PTR     Serveur.angel-ces.no-ip.org.
102             IN      PTR     ftp.angel-ces.no-ip.org.
103             IN      PTR     www. angel-ces.no-ip.org.

et le fichier rndc.key

key "rndc-key" {
        algorithm hmac-md5;
        secret "WEvT7b5a6vIJ/MqprtuohA==";
};

et si je fais

sh -x /etc/init.d/bind9 start

voici le resultat

+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ OPTIONS=
+ RESOLVCONF=yes
+ test -f /etc/default/bind9
+ . /etc/default/bind9
+ OPTIONS=-u bind
+ RESOLVCONF=yes
+ test -x /usr/sbin/rndc
+ . /lib/lsb/init-functions
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ . /etc/lsb-base-logging.sh
+ lsb_release -is
+ DISTRO=Ubuntu
+ log_daemon_msg Starting domain name service... bind
+ [ -z Starting domain name service... ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ usplash_write TEXT Starting domain name service... bind
open: Permission denied
+ log_to_console log_daemon_msg Starting domain name service... bind
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/1
+ [ /dev/pts/1 != /dev/pts/1 ]
+ return 0
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ xvt100 != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ FANCYTTY=0
+ false
+ echo  * Starting domain name service... bind
 * Starting domain name service... bind
+ COL=
+ modprobe capability
+ mkdir -p /var/run/bind/run
+ chmod 775 /var/run/bind/run
chmod: modification des permissions de `/var/run/bind/run': Opération non permise
+ chown root:bind /var/run/bind/run
+ true
+ [ ! -x /usr/sbin/named ]
+ start-stop-daemon --start --quiet --exec /usr/sbin/named --pidfile /var/run/bind/run/named.pid -- -u bind
named: setgid(): Operation not permitted
+ log_end_msg 1
+ [ -z 1 ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ [ 1 -eq 0 ]
+ usplash_write FAILURE failed
open: Permission denied
+ log_to_console log_end_msg 1
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/1
+ [ /dev/pts/1 != /dev/pts/1 ]
+ return 0
+ [  ]
+ [ 1 -eq 0 ]
+ echo    ...fail!
   ...fail!
+ return 1
+ exit 0

est ce que quelqu un pourrait me dire ce qui cloche svp smile

merci de votre aide je frole le petage de plomb une semaine sur ce trucque tout le monde di etre facile lol

Dernière modification par angelz (Le 12/05/2007, à 12:33)

Hors ligne

#19 Le 12/05/2007, à 18:36

angelz

Re : Comment installer et configurer BIND

personne n a d idée ??
c a m aiderai bcp smile

Hors ligne

#20 Le 13/05/2007, à 14:22

angelz

Re : Comment installer et configurer BIND

bon apres mainte et mainte recherche ce WE je crois que j'ai avancer

bon serveurbind demare bien

voice mon 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 "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};


zone " angelz-cuesmes.no-ip.org " {
        type master;
        file "/etc/bind/db.angel-ces.no-ip.org";
};

zone "4.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.angel-ces.no-ip.org.inv";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
//  Because many of our users are uncomfortable receiving undelegated answers
//  from root or top level domains, other than a few for whom that behaviour
//  has been trusted and expected for quite some length of time, we have now
//  introduced the "root-delegations-only" feature which applies delegation-only
//  logic to all top level domains, and to the root domain.  An exception list
//  should be specified, including "MUSEUM" and "DE", and any other top level
//  domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";

db.angel-ces.no-ip.org

$TTL 3h
@       IN      SOA     ns.angel-ces.no-ip.org. hostmaster.angel-ces.no-ip.org. (
                                2007030701
                                8H
                                2H
                                1W
                                1D )

@       IN      NS      ns.angel-ces.no-ip.org.

@       IN      MX      10      mail.angel-ces.no-ip.org.

ns              IN      A       192.168.4.3
mail           IN      A       192.168.4.3
Serveur          IN      A       192.168.4.3
ftp             IN       A       192.168.4.3
www             IN       VNAME    Serveur

db.angel-ces.no-ip.org.inv

$TTL 3h
@       IN      SOA     ns.angel-ces.no-ip.org. hostmaster.angel-cues.no-ip.org. (
                                2007030701
                                8H
                                2H
                                1W
                                1D )

@       IN      NS      ns.angel-ces.no-ip.org.

@       IN      MX      10      mail.angel-ces.no-ip.org.

101             IN      PTR     ns.angel-ces.no-ip.org.
101             IN      PTR     mail.angel-ces.no-ip.org.
101             IN      PTR     Serveur.angel-ces.no-ip.org.
102             IN      PTR     ftp.angel-ces.no-ip.org.
103             IN      PTR     www. angel-ces.no-ip.org.

named.conf.options

ptions {
        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 {
                195.130.130.1;
         };

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };

        // By default, name servers should only perform recursive domain
        // lookups for their direct clients.  If recursion is left open
        // to the entire Internet, your name server could be used to
        // perform distributed denial of service attacks against other
        // innocent computers.  For more information on DDoS recursion:
        // http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0987

        allow-recursion { localnets; };

        // If you have DNS clients on other subnets outside of your
        // server's "localnets", you can explicitly add their networks
        // without opening up your server to the Internet at large:
        // allow-recursion { localnets; 192.168.0.0/24; };

        // If your name server is only listening on 127.0.0.1, consider:
        // allow-recursion { 127.0.0.1; };
};

named.conf.local

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

maintenant qd jefais

sudo /etc/init.d/bind9 restart

j'ai ca smile

 * Stopping domain name service... bind
   ...done.
 * Starting domain name service... bind
   ...done.

et quand je fair

sudo sh -x /etc/init.d/bind9 restart

voici ce que cela donne

+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ OPTIONS=
+ RESOLVCONF=yes
+ test -f /etc/default/bind9
+ . /etc/default/bind9
+ OPTIONS=-u bind
+ RESOLVCONF=yes
+ test -x /usr/sbin/rndc
+ . /lib/lsb/init-functions
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ . /etc/lsb-base-logging.sh
+ lsb_release -is
+ DISTRO=Ubuntu
+ /etc/init.d/bind9 stop
 * Stopping domain name service... bind
   ...done.
+ sleep 2
+ /etc/init.d/bind9 start
 * Starting domain name service... bind
   ...done.
+ exit 0

mais quand je fais

sudo tail -30 /var/log/syslog

j'obtient

May 13 14:10:32 serveur named[8793]: shutting down: flushing changes
May 13 14:10:32 serveur named[8793]: stopping command channel on 127.0.0.1#953
May 13 14:10:32 serveur named[8793]: stopping command channel on ::1#953
May 13 14:10:32 serveur named[8793]: no longer listening on ::#53
May 13 14:10:32 serveur named[8793]: no longer listening on 127.0.0.1#53
May 13 14:10:32 serveur named[8793]: no longer listening on 192.168.4.3#53
May 13 14:10:32 serveur named[8793]: exiting
May 13 14:10:34 serveur named[8859]: starting BIND 9.3.4 -u bind
May 13 14:10:34 serveur named[8859]: found 1 CPU, using 1 worker thread
May 13 14:10:34 serveur named[8859]: loading configuration from '/etc/bind/named.conf'
May 13 14:10:34 serveur named[8859]: listening on IPv6 interfaces, port 53
May 13 14:10:34 serveur named[8859]: listening on IPv4 interface lo, 127.0.0.1#53
May 13 14:10:34 serveur named[8859]: listening on IPv4 interface eth0, 192.168.4.3#53
May 13 14:10:34 serveur named[8859]: command channel listening on 127.0.0.1#953
May 13 14:10:34 serveur named[8859]: command channel listening on ::1#953
May 13 14:10:34 serveur named[8859]: zone 0.in-addr.arpa/IN: loaded serial 1
May 13 14:10:34 serveur named[8859]: zone 127.in-addr.arpa/IN: loaded serial 1
May 13 14:10:34 serveur named[8859]: dns_rdata_fromtext: /etc/bind/db.angel-ces.no-ip.org.inv:17: near 'angel-ces.no-ip.org.': extra input text
May 13 14:10:34 serveur named[8859]: zone 4.168.192.in-addr.arpa/IN: loading master file /etc/bind/db.angel-ces.no-ip.org.inv: extra input text
May 13 14:10:34 serveur named[8859]: zone 255.in-addr.arpa/IN: loaded serial 1
May 13 14:10:34 serveur named[8859]: zone localhost/IN: loaded serial 1
May 13 14:10:34 serveur named[8859]: /etc/bind/db.angel-ces.no-ip.org:11: \032angel-ces.no-ip.org\032: bad owner name (check-names)
May 13 14:10:34 serveur named[8859]: zone \032angel-ces.no-ip.org\032/IN: loading master file /etc/bind/db.angel-ces.no-ip.org: bad owner name (check-names)
May 13 14:10:34 serveur named[8859]: running
May 13 14:10:56 serveur ccsd[4074]: Unable to connect to cluster infrastructure after 4470 seconds. 
May 13 14:11:27 serveur ccsd[4074]: Unable to connect to cluster infrastructure after 4500 seconds. 
May 13 14:11:57 serveur ccsd[4074]: Unable to connect to cluster infrastructure after 4530 seconds. 
May 13 14:12:27 serveur ccsd[4074]: Unable to connect to cluster infrastructure after 4560 seconds. 
May 13 14:12:57 serveur ccsd[4074]: Unable to connect to cluster infrastructure after 4590 seconds. 
May 13 14:13:27 serveur ccsd[4074]: Unable to connect to cluster infrastructure after 4620 seconds.

ce qui me pousse a croire que cela ne marche pas

surtoutque si je fais

nslookup 192.168.4.3
(qui a l'adresse local du serveur)

j'ai

Server:         192.168.4.3
Address:        192.168.4.3#53

** server can't find 3.4.168.192.in-addr.arpa: SERVFAIL

ou si

nslookup ns.angel-ces.no-ip.org  
(qui est le nom du serveur)

j'ai

Server:         192.168.4.3
Address:        192.168.4.3#53

** server can't find ns.angel-ces.no-ip.org: NXDOMAIN

Voila je pense donc qu il y a un souci qlq part:)

et oui encore mais j'avance:)

mais l'a j'aurais vraiment besoin d'un coup de main...
j'ai un peu l'impression defaire un monologue depuis 2 jours lol

merci de votre aider

pitier lol aider moi je deviens fous

Dernière modification par angelz (Le 13/05/2007, à 14:23)

Hors ligne

#21 Le 13/05/2007, à 19:00

angelz

Re : Comment installer et configurer BIND

bon ben apperement y a que moi qui est assez con pour travailler le WE lol

j'espere avoir des reponse lundi wink
qd on sefait chier au boulot mdr

Hors ligne

#22 Le 14/05/2007, à 10:36

angelz

Re : Comment installer et configurer BIND

personne n'a d idée?

Hors ligne

#23 Le 14/05/2007, à 16:04

angelz

Re : Comment installer et configurer BIND

Vraiment personne ne comprends pourquoi g ce souci ?

Hors ligne

#24 Le 14/05/2007, à 17:01

Uggy

Re : Comment installer et configurer BIND

file /etc/bind/db.angel-ces.no-ip.org: bad owner name

Tu as vérifié les attributs de ce fichier... ?

Hors ligne

#25 Le 14/05/2007, à 17:30

angelz

Re : Comment installer et configurer BIND

je supose que attribut pour toi c le fichier
db.angel-ces.no-ip.org ?

voici la conf

$TTL 3h
@       IN      SOA     ns.angel-ces.no-ip.org. hostmaster.angel-ces.no-ip.org. (
                                2007030701
                                8H
                                2H
                                1W
                                1D )

@       IN      NS      ns.angel-ces.no-ip.org.

@       IN      MX      10      mail.angel-ces.no-ip.org.

ns              IN      A       192.168.4.3
mail           IN      A       192.168.4.3
Serveur          IN      A       192.168.4.3
ftp             IN       A       192.168.4.3
www             IN       VNAME    Serveur

Hors ligne