(05-20-2010 02:45 AM)kurgans Wrote: Quita el BASE_SERVER_IP del template y ponle la ip publica.
Yo es que en template aun no estaba incorporado eso.
www IN A {DMN_IP}
{DMN_NAME}. IN TXT "v=spf1 a mx ip4:{DMN_IP} ~all"
Por eso no lo vi
gracias por la muy pronta respuesta, he hecho los cambios que me has dicho, pero no cambia la ip privada por la publica
/var/cache/bind/archivodezona.db de ip privada a publica en todos los dominios de forma manual
Quote:$TTL 12H
$ORIGIN buscosite.com.
@ IN SOA ns1.buscosite.com. postmaster.buscosite.com. (
; dmn [buscosite.com] timestamp entry BEGIN.
2010051906 ; Serial
; dmn [buscosite.com] timestamp entry END.
8H ; Refresh
30M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.buscosite.com.
IN NS ns2.buscosite.com.
IN MX 10 mail.buscosite.com.
buscosite.com. IN A {190.220.88.141}
www IN A 192.168.0.100
buscosite.com. IN TXT "v=spf1 a mx ip4:{190.220.88.141} ip4:192.168.0.100 ~all"
localhost IN A 127.0.0.1
mail IN A {190.220.88.141}
ns1 IN A 192.168.0.100
ns2 IN A 192.168.0.100
; CNAME for VHCS compatibility
ns IN CNAME ns1
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; CNAME for web transfer
ftp IN CNAME www
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.
; dns [{MANUAL_DNS_ID}] entry BEGIN.
; dns [{MANUAL_DNS_ID}] entry END.
/etc/ispcp/bind/working/archivodezona.db -> lo mismo
Quote:$TTL 12H
$ORIGIN buscosite.com.
@ IN SOA ns1.buscosite.com. postmaster.buscosite.com. (
; dmn [buscosite.com] timestamp entry BEGIN.
2010051906 ; Serial
; dmn [buscosite.com] timestamp entry END.
8H ; Refresh
30M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.buscosite.com.
IN NS ns2.buscosite.com.
IN MX 10 mail.buscosite.com.
buscosite.com. IN A {190.220.88.141}
www IN A 192.168.0.100
buscosite.com. IN TXT "v=spf1 a mx ip4:{190.220.88.141} ip4:192.168.0.100 ~all"
localhost IN A 127.0.0.1
mail IN A {190.220.88.141}
ns1 IN A 192.168.0.100
ns2 IN A 192.168.0.100
; CNAME for VHCS compatibility
ns IN CNAME ns1
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; CNAME for web transfer
ftp IN CNAME www
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.
; dns [{MANUAL_DNS_ID}] entry BEGIN.
; dns [{MANUAL_DNS_ID}] entry END.
/etc/ispcp/bind/parts/db_e.tpl las lineas que hacen refeencia al dominio {DMN_IP} por estas otras {AQUI TU IP PUBLICA}
Quote:$TTL 12H
$ORIGIN {DMN_NAME}.
@ IN SOA ns1.{DMN_NAME}. postmaster.{DMN_NAME}. (
; dmn [{DMN_NAME}] timestamp entry BEGIN.
{TIMESTAMP} ; Serial
; dmn [{DMN_NAME}] timestamp entry END.
8H ; Refresh
30M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.{DMN_NAME}.
IN NS ns2.{DMN_NAME}.
IN MX 10 mail.{DMN_NAME}.
{DMN_NAME}. IN A {190.220.88.141}
www IN A {DMN_IP}
{DMN_NAME}. IN TXT "v=spf1 a mx ip4:{190.220.88.141} ip4:{DMN_IP} ~all"
localhost IN A 127.0.0.1
mail IN A {190.220.88.141}
ns1 IN A {BASE_SERVER_IP}
ns2 IN A {SECONDARY_DNS_IP}
; CNAME for VHCS compatibility
ns IN CNAME ns1
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; CNAME for web transfer
ftp IN CNAME www
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.
; dns [{MANUAL_DNS_ID}] entry BEGIN.
; dns [{MANUAL_DNS_ID}] entry END.