Bonjour,

J'ai plusieurs zones DNS achetées chez gandi.fr, le serveur DNS Primaire est
hébergé chez moi, derrière un FW sous IPCOP.
Quand je fais:
ping www.mondomaine1.com, l'adresse renvoyée est l'@IP_locale, alors que les
ping sur tous les autres domaines renvoient l'@IP_publique.

Voici un extrait de mes fichiers de zone:
-- mondomaine1.zone
$ttl 38400
@                       IN      SOA     ns1.mondomaine1.com. 
admin.mondomaine1.com. (
                        2003110401      ; serial
                        86400           ; refresh
                        600             ; retry
                        600000  ; expire
                        604800  ; default_ttl
                        )

@                       IN      NS      ns1.mondomaine1.com.
@                       IN      MX      5 mail
                        IN      A       @IP_publique
monserveur              IN      A       @IP_locale
www                     IN      CNAME   monserveur
mail                    IN      CNAME   monserveur

-- mondomaine2.zone
$ttl 38400
@                       IN      SOA     ns1.mondomaine1.com. 
admin.mondomaine1.com. (
                        2003110401      ; serial
                        86400           ; refresh
                        600             ; retry
                        600000  ; expire
                        604800  ; default_ttl
                        )

@                       IN      NS      ns1.mondomaine1.com.
@                       IN      MX      5 mail
                        IN      A       @IP_publique
monserveur              IN      A       @IP_locale
www                     IN      CNAME   monserveur
mail                    IN      CNAME   monserveur

Comment cela se fait il?

Tony.

Répondre à