Evolution #7008
Ajout d'un "." dans le template pour "nom_zone_dns_cache"
Description
Le template ajoute obligatoirement "." à "nom_zone_dns_cache". Si on ajoute plusieurs domaines le contenu de la variable est donc différent pour le 1er domaine et les autres.
Par exemple si on veut ".domain1 .domain2 .domain3" il faut mettre "domain1 .domain2 .domain3" (sans le ".").
De plus il est possible de vouloir redirigé un domaine (et non un sous-domaine) vers un proxy particulière (même si ce cas doit être rare).
Related issues
Associated revisions
migration de la variable nom_zone_dns_cache (ref #7008)
suppression du '.' obligatoire pour nom_zone_dns_cache (fixes #7008)
History
#1 Updated by Joël Cuissinat over 9 years ago
- Target version changed from Eole 2.4-RC2 to Eole 2.4-RC3
#2 Updated by Joël Cuissinat over 9 years ago
- Due date set to 04/04/2014
- Estimated time set to 2.00 h
Supprimer le "." + documenter (help/description/doc?) + demande pour migration
#3 Updated by Emmanuel GARETTE over 9 years ago
- Assigned To set to Emmanuel GARETTE
Le test que j'ai fait pour la migration :
- place le fichier suivant dans /etc/eole/config.eol :
[nom_zone_dns_cache] valdefault = [] valprec = [] val = ['example.fr'] [nom_cache_pere_zone] valdefault = [] valprec = [] val = ['eth0'] [port_cache_pere_zone] valdefault = [] valprec = [] val = ['3128']
- lancer gen_config et vérifier que "nom_zone_dns_cache" soit bien charger dans l'onglet "proxy père" avec la valeur ".example.fr" (et non "example.fr")
#4 Updated by Emmanuel GARETTE over 9 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 3458b28d7c7ca8fddea5c2a7c150636543de58fa.
#5 Updated by Joël Cuissinat over 9 years ago
- Status changed from Résolu to Fermé
Migration OK + test suivant :
root@amon:~# CreoleGet nom_zone_dns_cache .avecpoint sanspoint .encoreavec root@amon:~# grep point /etc/squid3/* /etc/squid3/common-squid1.conf:acl intradom0 dstdomain ".avecpoint sanspoint .encoreavec" /etc/squid3/common-squid2.conf:cache_peer_domain toto .avecpoint sanspoint .encoreavec