View previous topic :: View next topic |
Author |
Message |
Jack_Sparrow n00b
Joined: 18 Jul 2004 Posts: 52
|
Posted: Wed Aug 25, 2004 3:07 pm Post subject: [BIND] Problème de résolution du domain avec navigateur! |
|
|
Salut,
Le titre en dit long! mais c'est pour cause.
Je sais que le sujet a été traiter en long et en large (du moin, il me semble )
mais j'ai un problème bizarre.
mon serveur de dns fonctione qu'a moitier.
je suis capable d'acceder a mes ftp par mon domaine, mais pas par le navigateur.
si je tappe 'ftp ftp.mondomain.com' j'accede a mon ftp
si je tappe http://www.mondomain.com.. je n'ai pas acces, il me dit que le domaine n'existe pas. bizarre hein!
Qu'est-ce qui peut en être la cause? Je n'ai pas d'erreur lorsque je regarde dans mes logs pour named.
et je crois que ma zone est bien configurer, sinon j'aurais pas acces a rien non?
Merci de m'éclairer sur le sujet.
EDIT: Bon, après quelques modifications, en local ca semble fonctionner, mais si j'essaie en remote avec un autre ordinateur qui n'est pas sur le reseau, je ne peu pas resolver mon domaine.
EDIT2 : J'ai lu un thread ou il disais d'ourir le port 53 pour que bind soit vu de l'externe.. est-ce vrai? je n'ai pas vu ca a nullpart!?
pourquoi le port 53? Est-ce qu'on peut le changer?
merci.
Last edited by Jack_Sparrow on Wed Aug 25, 2004 5:05 pm; edited 2 times in total |
|
Back to top |
|
|
Jack_Sparrow n00b
Joined: 18 Jul 2004 Posts: 52
|
Posted: Wed Aug 25, 2004 3:25 pm Post subject: |
|
|
pour ceux que ca interesse, je vous met ici les fichiers que j'ai changer!
/etc/bind/named.conf
Code: |
options {
directory "/var/bind";
// uncomment the following lines to turn on DNS forwarding,
// and change the forwarding ip address(es) :
//forward first;
forwarders {
206.108.60.11;
206.108.60.12;
};
listen-on-v6 { none; };
listen-on {
192.168.1.99/24;
127.0.0.1;
};
// to allow only specific hosts to use the DNS server:
//allow-query {
// 127.0.0.1;
//};
allow-query {
192.168.1.99/24;
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";
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/127.zone";
allow-update { none; };
notify no;
};
//zone "1.168.192.in-addr.arpa" IN {
// type master;
// file "pri/168.zone";
//
//};
zone "baribeausolutions.com" IN {
type master;
file "zone/baribeausolutions.com";
};
zone "carlslater.ws" IN {
type master;
file "zone/carlslater.ws";
};
zone "ragemode.com" IN {
type master;
file "zone/ragemode.com";
};
|
zone : baribeausolutions.com
Code: |
$ORIGIN .
$TTL 86400
baribeausolutions.com IN SOA ns1.baribeausolutions.com. contact.baribeausolutions.com. (
2004082501
86400
3600
2419200
86400
)
NS ns1.baribeausolutions.com.
A 192.168.1.99
MX 10 mail.baribeausolutions.com.
$ORIGIN baribeausolutions.com.
mail A 192.168.1.99
ftp A 192.168.1.99
mysql A 192.168.1.99
ns1 A 192.168.1.99
|
/etc/resolv.conf
Code: |
domain baribeausolutions.com
nameserver 206.108.60.11
nameserver 206.108.60.12
nameserver 192.168.1.99
|
/etc/dnsdomainename
Code: |
baribeausolutions.com
|
/etc/hosts
Code: |
#127.0.0.1 localhost.homenetwork localhost
#192.168.1.99 tux.homenetwork tux localhost
#127.0.0.1 localhost.baribeausolutions.com localhost
#192.168.1.99 tux.baribeausolutions.com tux localhost
127.0.0.1 localhost
192.168.1.99 tux.baribeausolutions.com tux
|
/etc/hostname
si ca peut aider a ma cause! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|