Current time: 01-12-2025, 09:45 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Resuelto] Problemas Con lod dominos que solo funcionan en la red local
Author Message
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: Problemas Con lod dominos que solo funcionan en la red local
Buenas,

Primero como dice el compañero necesitas ip fija publica.

Luego para resolver tu nombre externamente necesitas un dns externo registrado debidamente que contenga las etiquetas dns A, IN MX CNAME etc.. apuntando hacia tu ip publica.

En caso de no disponer de esta opcion necesitas alterar tus plantillas del panel para resolver tu en tu dns local

Ruta de las plantillas: etc/ispcp/bind/parts

db_e.tpl

$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 ---- Aqui tu ip publica
www IN A ----Aqui tu ip publica
{DMN_NAME}. IN TXT "v=spf1 a mx ip4:----Aqui tu ip publica ~all"
localhost IN A 127.0.0.1
mail IN A ---- Aqui tu ip publica
ns1 IN A ---- Aqui tu ip publica
ns2 IN A ---- Aqui tu ip publica
; 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.


db_master_e.tpl

$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
15M ; 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 ---- Aqui tu ip publica
www IN A ---- Aqui tu ip publica
{DMN_NAME}. IN TXT "v=spf1 a mx ip4:---- Aqui tu ip publica ~all"
localhost IN A 127.0.0.1
mail IN A ---- Aqui tu ip publica
ns1 IN A ---- Aqui tu ip publica
ns2 IN A ---- Aqui tu ip publica
; 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.


y db_sub_entry.tpl

Quote:{SUB_NAME}. IN A ---- Aqui tu ip publica
www.{SUB_NAME}. IN A ---- Aqui tu ip publica
ftp.{SUB_NAME}. IN A ---- Aqui tu ip publica
localhost.{SUB_NAME}. IN A 127.0.0.1

Como ya tienes minimo un dominio funcionando deberás hacer esos cambios a mano ya que solo estará operativo para los nuevos que introduzcas:

Archivos bind para cambiar ip privada por publica
/var/cache/bind/ dominio.db
etc/ispcp/bind/working/dominio.db

Archivos apache para cambiar ip privada por publica
/etc/apache2/sites-available/ipscp.conf
/etc/ispcp/apache2/working/ispcp.conf

Regenera los archivos de configuracion para que estos se activen

http://isp-control.net/documentation/how...ate_config

Una vez echos los cambios necesitaras reiniciar apache y bind9
(This post was last modified: 04-15-2009 07:19 PM by kurgans.)
04-15-2009 06:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problemas Con lod dominos que solo funcionan en la red local - kurgans - 04-15-2009 06:51 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)