Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users French
  • Search

dns

Forum dédié aux utilisateurs francophones de Gentoo. Retrouvez aussi Gentoo Linux en français sur le wiki!

Moderators: El_Goretto, xaviermiller

Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
Author
Message
px
Guru
Guru
User avatar
Posts: 497
Joined: Thu Sep 26, 2002 8:17 am
Location: Metz, France
Contact:
Contact px
Website

dns

  • Quote

Post by px » Tue Oct 08, 2002 9:14 am

J'ai refait mon serveur, qui tournait avant sous mandrake pour une gentoo 1.4, et je n'arrive pas a faire fonctionner le dns. Il marche bien en local mais de l'exterieur cela ne rox pas. Sous la mandrake c'etait extrement simple y'avait un pur wizard qui m'avait fait les 9/10e du boulot. Pour info mon ip fixe est le 62.212.106.46, je n'ai aucun firewall d'activé, j'ai viré l'iptable croyant que le probleme pouvait venir de la, j'ai mis un squid et configuré tout le reseau pour passer obligatoirement par celui ci. Le dns secondaire est géré par gandi.

voici mes quelques fichiers de config:
named.conf:

options {
directory "/var/bind";
listen-on-v6 { none; };
listen-on { 127.0.0.1; };
// if you have problems and are behind a firewall:
//query-source address * port 53;
pid-file "/var/run/named/named.pid";
forward first;
forwarders {
62.4.16.70;
62.4.17.109;
};
};

zone "." IN {
type hint;
file "named.ca";

};

zone "localhost" IN {
type master;
file "pri/localhost";
allow-update { none; };
notify no;
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "pri/127.0.0";
allow-update { none; };
notify no;
};
zone "prophetix.com" {
type master;
file "/var/bind/prophetix.com.hosts";
allow-transfer {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
notify yes;
also-notify {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
allow-query {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
};

zone "frenchgeek.com" {
type master;
file "/var/bind/frenchgeek.com.hosts";
allow-transfer {
127.0.0.1;
80.67.173.197;
80.67.173.18;
};
notify yes;
also-notify {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
allow-query {
127.0.0.1;
80.67.173.197;
80.67.173.18;
80.67.173.196;
};
};

server 80.67.173.196 {
transfers 9999;
};

------------------
prophetix.com.hosts
$ORIGIN .
$TTL 86400 ; 1 day
prophetix.com IN SOA prophetix.com. root.prophetix.com. (
2002090303
3600
300
172800
43200 )
IN NS serveur.prophetix.com.
IN MX 10 serveur.prophetix.com.
$ORIGIN prophetix.com.
$TTL 86400 ; 1 day
serveur.prophetix.com. IN A 62.212.106.46
localhost IN A 127.0.0.1
ftp IN CNAME serveur.prophetix.com.
www IN CNAME serveur.prophetix.com.
mail IN CNAME serveur.prophetix.com.
prophetix.com. IN A 62.212.106.46
montexte.prophetix.com. IN TXT "prout"


------------------------
frenchgeek.com.hosts

$ORIGIN .
$TTL 86400 ; 1 day
prophetix.com IN SOA frenchgeek.com. root.frenchgeek.com. (
2002090308
3600
300
172800
43200 )
frenchgeek.com. IN NS serveur.prophetix.com.


IN MX 10 serveur.prophetix.com.

$ORIGIN prophetix.com.
$TTL 86400 ; 1 day

serveur.prophetix.com. IN A 62.212.106.46

localhost.frenchgeek.com. IN A 127.0.0.1
ftp.frenchgeekcom. IN CNAME serveur.prophetix.com.
www.frenchgeek.com. IN CNAME serveur.prophetix.com.
mail.frenchgeek.com. IN CNAME serveur.prophetix.com.
frenchgeek.com. IN A 62.212.106.46
montexte.frenchgeek.com. IN TXT "prout"
-----------------------------
Bon c'est bien le bordel, je l'accorde mais un peu d'aide exterieure serait le bienvenue.

Code: Select all

Top
Kinou-
n00b
n00b
Posts: 24
Joined: Fri Oct 04, 2002 2:46 pm
Contact:
Contact Kinou-
Website

  • Quote

Post by Kinou- » Tue Oct 08, 2002 9:32 am

et dans tes logs qd tu arretes et demarres named, il te dit koi ?

c la ke j'ai vu ke j'avais des pb de syntaxe moi :)
Top
px
Guru
Guru
User avatar
Posts: 497
Joined: Thu Sep 26, 2002 8:17 am
Location: Metz, France
Contact:
Contact px
Website

  • Quote

Post by px » Tue Oct 08, 2002 4:31 pm

Bah le log me dit rien de special, le ps-ef |grep named me sort quelques resultat (ouai la desus je comprend pas trop, il me lance toujours les démons en plusieurs fois) mais cela doit provenir des droits des transferts, le serveur de gandi ne doit pas arriver a communiquer avec le mien, mais je voit pas d'où cela peut provenir.
Top
bsod
n00b
n00b
Posts: 4
Joined: Tue Oct 15, 2002 6:39 am

Re: dns

  • Quote

Post by bsod » Tue Oct 15, 2002 6:41 am

px wrote: listen-on { 127.0.0.1; };
Ce serait pas ça ton soucis ?
Top
px
Guru
Guru
User avatar
Posts: 497
Joined: Thu Sep 26, 2002 8:17 am
Location: Metz, France
Contact:
Contact px
Website

  • Quote

Post by px » Tue Oct 15, 2002 9:14 am

j'avais deja essayer de changer cette partie, ca n'avait rien changé. Mais j'ai simplifié le probleme. Gandi permet de gérer les dns directement chez eux. En plus on n'est pas limité en aname, cname et mail. ca me libère des ressources sur le serveur. C'est cool.
Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry]
Top
bsod
n00b
n00b
Posts: 4
Joined: Tue Oct 15, 2002 6:39 am

  • Quote

Post by bsod » Tue Oct 15, 2002 9:30 am

Oki d'ac ;)

Pour info, j'ai mis cette ligne en commentaire et named écoute sur toutes les interfaces/ip ... (Ce que je voulais).
Top
px
Guru
Guru
User avatar
Posts: 497
Joined: Thu Sep 26, 2002 8:17 am
Location: Metz, France
Contact:
Contact px
Website

  • Quote

Post by px » Tue Oct 15, 2002 10:21 am

oki je prend note, ca me servira un jour : )
Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry]
Top
Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “French”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic