(05-19-2010 02:14 AM)kurgans Wrote: La resolucion es bastante sencilla,
Bind no resuelve a ip privada luego tienes que cambiar:
/var/cache/bind/archivodezona.db de ip privada a publica en todos los dominios de forma manual
/etc/ispcp/bind/working/archivodezona.db -> lo mismo
Y por supuesto el template para los dominio que vas agregando
/etc/ispcp/bind/parts/db_e.tpl las lineas que hacen refeencia al dominio {DMN_IP} por estas otras {AQUI TU IP PUBLICA}
Como haces cambio en el template debes de regenerar la configuracion para que este activa
http://isp-control.net/documentation/how...ate_config
gracias por tu respuesta, he hecho lo que me has dicho, pero al regenerar en algunas partes vuelve a poner la ip privada y no la publica, aqui pongo los archivos antes de regenerar y despues de regenerar. ya no lo habre de ninguna manera
Estoy siguiendo los pasos como me has indicado
/var/cache/bind/archivodezona.db de ip privada a publica en todos los dominios de forma manual
antes de regenerar
Quote:$TTL 12H
$ORIGIN buscosite.com.
@ IN SOA ns1.buscosite.com. postmaster.buscosite.com. (
; dmn [buscosite.com] timestamp entry BEGIN.
2010051902 ; 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 {190.220.88.141}
buscosite.com. IN TXT "v=spf1 a mx ip4:{190.220.88.141} ip4:190.220.88.141 ~all"
localhost IN A 127.0.0.1
mail IN A {190.220.88.141}
;ns1 IN A 190.220.88.141
;ns2 IN A 190.220.88.141
ns1 IN A 190.220.88.141
ns2 IN A 190.220.88.141
; 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.
despues de regenerar
Quote:$TTL 12H
$ORIGIN buscosite.com.
@ IN SOA ns1.buscosite.com. postmaster.buscosite.com. (
; dmn [buscosite.com] timestamp entry BEGIN.
2010051903 ; 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 {190.220.88.141}
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
despues de regenerar
Quote:$TTL 12H
$ORIGIN buscosite.com.
@ IN SOA ns1.buscosite.com. postmaster.buscosite.com. (
; dmn [buscosite.com] timestamp entry BEGIN.
2010051903 ; 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 {190.220.88.141}
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 {190.220.88.141}
{DMN_NAME}. IN TXT "v=spf1 a mx ip4:{190.220.88.141} ip4:{BASE_SERVER_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.