Re: DHCP - DNS
Le lun 03/02/2003 à 10:49, Thomas Clavier a écrit :
> Sébastien Lardière wrote:
> >
> > C'est la dernière chose que je n'ai pas essayé, je teste ça, ça ne m'arrange pas, mais bon
> >
> voici des extrais de mes fichiers de conf :
> dhcpd.conf:
> ddns-update-style interim;
> ddns-updates on;
> subnet 192.168.12.0 netmask 255.255.255.0 {
> range 192.168.12.12 192.168.12.220;
> option routers 192.168.12.1;
> option domain-name-servers 192.168.12.1;
> option ntp-servers 192.168.12.1;
>
The following line will disable dynamic updates between DNS et DHCP !!!!
> ignore client-updates;
>
Je n 'ai pas du tout ca dans mon dhcpd.conf , configure avec un subnet
...
> zone priv.tcweb.dyndns.org. {
> primary 127.0.0.1;
> }
>
> zone 12.168.192.in-addr.arpa. {
> primary 127.0.0.1;
> }
> }
>
> named.conf:
INUTILE EN PHASE MISE AU POINT PLUTOT SOURCE D ENNUI
> acl "dhcp-dns" {
> ici, soit une autorisation par clef, soit par IP, l' IP étant le plus
> simple, mais aussi le moins fiable :-)
> };
>
> zone "priv.tcweb.dyndns.org" in {
> type master;
> file "/etc/bind/priv.tcweb.db";
NON, TU ESSAIERAS CA PLUS TARD QUAND LE FCT de BASE MARCHERA TU POURRAS
MISER SECURITE
> allow-update {"dhcp-dns";};
> };
MIEUX EN ATTENDANT :
allow-update {192.168.12.1;127.0.0.1}
>
> zone "12.168.192.in-addr.arpa" {
> type master;
> file "/etc/bind/192.168.12.db";
VOI CI DESSUS
> allow-update {"dhcp-dns";};
> };
>
IL FAUT RAJOUTER LA LOGGING SECTION POUR DEBUGGER !!!
PS: Un conseil, pour configurer plus facilement, utiliser l'interface
webmin
INUTILE A MON AVIS :
> dhclient.conf:
> send fqdn.fqdn "nom_de_machine.priv.tcweb.dyndns.org.";
> send fqdn.encoded on;
> send fqdn.server-update on;
>
> send host-name "nom_de_machine.priv.tcweb.dyndns.org";
>
> --
> Thomas Clavier http://www.tcweb.dyndns.org
> Division Ressources & Compétences (Département Client/Serveur)
> Adventec Lille
> +33 (0)3 20 18 53 02 - +33 (0)6 20 81 81 30
>
>
> --
> To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: