Pages : 1
#1 Le 05/05/2006, à 21:07
- dnsvhcs
Problème DNS VHCS
Bonjour ;
Juste après l'installation de ma ubuntu, j'ai installé l'interface d'administration VHCS.
J'ai une adresse ip fixe de type 82.xxx.xxx.xxx
j'ai aussi un nom de domaine chez gandit ==> JURIS-LINE.ORG.
Shema de la configuration actuelle de mon réseau ==>
Modem/cable : 82.216.188.133
Routeur NetGear : 192.168.0.1
Mon serveur ubuntu : 192.168.0.2
Un autre poste de mon réseau : 192.168.0.3
Rencontrant quelques problèmes, j'aurais plusieurs questions à vous poser.
Lors de l'installation de ma ubuntu, pour la configuration du réseau, dois-je rentrer l'adresse ip de mon modem/cable ==> 82.216.188.133 (ip fixe) ou celle-ci 192.168.0.2 ?
Quand au nom de l'ordinateur, que dois-je rentrer exactement ? mon nom de domain juris-line.org ?
Ou ns qui sera le serveur de nom ==> ns.juris-line.org ?
Par ailleurs, j'ai suite à l'installation de VHCS, déclaré mon dns au registre ==> ns.juris-line.org d'adresse ip 82.216.188.133 qui renvoi en fait sur mon serveur 192.168.0.2
Malheureusement, tout fonctionne sauf les email.
En effet, cela fonctionne en local et aussi pour l'envois vers l'extérieur mais par contre, je ne reçois pas de l'extérieur.
J'ai remarqué que lorsque je créer un domaine avec vhcs, aucun fichier de résolution inverse et créer. Est-ce normal ?
Pour vous aider à comprendre, je joins mon fichier named.conf ainsi que mon fichier zone
// 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 "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";
// bind Data BEGIN.
// dmn [juris-line.org] cfg entry BEGIN.
zone "juris-line.org" {
type master;
file "/var/cache/bind/juris-line.org.db";
};
// dmn [juris-line.org] cfg entry END.
// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.
// bind Data END.
fichier zone
$TTL 86400
@ IN SOA ns.juris-line.org. root.juris-line.org. (
; dmn [juris-line.org] timestamp entry BEGIN.
2006050500
; dmn [juris-line.org] timestamp entry END.
8H
2H
4W
1D )
IN NS ns.juris-line.org.
IN MX 10 mail.juris-line.org.
juris-line.org. A 192.168.0.2
ns IN A 192.168.0.2
mail IN A 192.168.0.2
www CNAME juris-line.org.
ftp CNAME juris-line.org.
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.
Enfin, chez mon registrar, j'ai demandé à utiliser un de leur serveur pour mon dns secondaire. le nom de celui-ci est ns7.gandit.net.
A cet égard, que dois-je rajouter pour qu'il soit pris en compte par mon dns primaire ?
Merci pour vos réponses.
#2 Le 05/05/2006, à 23:31
- bEN
Re : Problème DNS VHCS
En faisant un dig sur ton domaine:
~$ dig -t mx JURIS-LINE.ORG
; <<>> DiG 9.3.1 <<>> -t mx JURIS-LINE.ORG
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56700
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;JURIS-LINE.ORG. IN MX
;; ANSWER SECTION:
JURIS-LINE.ORG. 86400 IN MX 10 mail.JURIS-LINE.ORG.
;; ADDITIONAL SECTION:
mail.JURIS-LINE.ORG. 86400 IN A 192.168.0.2
;; Query time: 130 msec
;; SERVER: 195.238.2.21#53(195.238.2.21)
;; WHEN: Sat May 6 00:22:41 2006
;; MSG SIZE rcvd: 69
Le champ MX est déclaré; tes mails partent vers mail.JURIS-LINE.ORG, mais pour l'exterieur c'est l'ip 192.168.0.2 : je me demande si il ne faudrait pas renvoyer vers l'ip de ton routeur, et ensuite faire du port forwarding vers le serveur dans ton resau local?
Hors ligne
Pages : 1