Voila
je vous montre tout
j'ai un serveur DEBIAN MODE TEXTE (192.168.0.1)
avec son serveur DNS avant il se connectait a internet avec un en ethernet.
et depuis j'ai mis un routeur (192.168.0.2) et j'ai configurer tout comme suit mais mon serveur DNS ne marche pas (je ne ping rien avec mon server Debian)
voici toute la config
FICHIER INTERFACES
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.2
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
TABLE DE ROUTAGE
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.2 0.0.0.0 UG 0 0 0 eth0
FICHIER NAMED.CONF J'utilise BIND !!
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//
include "/etc/bind/named.conf.options";
// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
category cname { null; };
};
// 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
fichier named.conf.local
//
// Add local zone definitions here.
acl "intranet" { 192.168.0.0/24; 192.168.1.0/24; 127.0.0.1; };
zone "epne.int" {
type master;
file "/etc/bind/db.epne.int";
allow-query { "intranet"; };
};
zone "168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.168.192";
allow-query { "intranet"; };
};
fichier named.conf.option je debute en debian c koi la ligne forwarders {
80.10.246.130;
80.10.246.3;
// This is now considered a bad idea and BIND 9 never does it.
fetch-glue no;
// 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 {
80.10.246.130;
80.10.246.3;
// 172.16.0.1;
};
};
VOICI LE FICHIER RESOLV.CONF
nameserver 127.0.0.1
Merci de m'aider et si vous voulez d'autre info hesitez pas a me demande
a oui au faite, j'ai squidguard qui tourne sur ce serveur ! il marchait nickel avant l'arrivé du routeur !! DONC C un proxy!!! je pourrais toujours m'en servir en tant que proxy??
Merci merci
A une info importante peut etre , avant j'etais chez wanadoo avec le speedtouch et la je suis passé chez cegetel !!
et il me semble que forwarders {
80.10.246.130;
80.10.246.3; soit des DNS de Wanadooo NON???
Merci de me dépanner
Message édité par jeanot71 le 09-02-2005 à 18:08:26