Current time: 05-22-2024, 07:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problems with Domains/Subdomains
Author Message
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #1
RE: Problems with Domains/Subdomains
Just for you to know if you get a error
Code:
get_tag() | ERROR: '; sub [{SUB_NAME}] entry BEGIN. ' ne '; sub [{SUB_NAME}] entry END. ', '; sub [{SUB_NAME}] entry BEGIN. ' or '; sub [{SUB_NAME}] entry END. ' missing in src !

this means you have a problem with generating bind files, in my case since I modified my db_e.tpl - dns template this could be the problem...

My subdomain entries in dns files do not get generated...[/code]
09-21-2007 12:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Problems with Domains/Subdomains
do you have actual tpl-files?

they have changed - at least some months ago...:-)

/Joximu
09-21-2007 02:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #3
RE: Problems with Domains/Subdomains
joximu Wrote:do you have actual tpl-files?

they have changed - at least some months ago...:-)

/Joximu


This is my TPL:


Code:
$TTL 86400
@    IN    SOA    ns1.MY_OWN_HOST.ws. root.MY_OWN_HOST.ws. (
; dmn [{DMN_NAME}] timestamp entry BEGIN.
            {TIMESTAMP}
; dmn [{DMN_NAME}] timestamp entry END.
            8H
            2H
            4W
            1D
)
        IN    NS    ns1.MY_OWN_HOST.ws.
        IN    NS    ns2.MY_OWN_HOST.ws.
        IN    MX    10 mail.{DMN_NAME}.

{DMN_NAME}.    IN    A    {DMN_IP}
{DMN_NAME}.    IN    TXT    "v=spf1 a mx ip4:MY_IP1 ip4:MY_IP2 ~all"
ns1.MY_OWN_HOST.ws        IN    A    MY_IP1
ns2.MY_OWN_HOST.ws        IN    A    MY_IP2
mail        IN    A    {BASE_SERVER_IP}
files        IN    A    {BASE_SERVER_IP}
pma        IN    A    {BASE_SERVER_IP}
webmail        IN    A    {BASE_SERVER_IP}
cp        IN    A    {BASE_SERVER_IP}
localhost    IN    A    127.0.0.1
www        CNAME    {DMN_NAME}.
ftp        CNAME    {DMN_NAME}.
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.
(This post was last modified: 09-21-2007 03:07 AM by grungy.)
09-21-2007 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Problems with Domains/Subdomains
a newline at the end?

/J
09-21-2007 02:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #5
RE: Problems with Domains/Subdomains
joximu Wrote:a newline at the end?

/J

nope
09-21-2007 03:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Problems with Domains/Subdomains
try it :-)
09-21-2007 03:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #7
RE: Problems with Domains/Subdomains
It is fixed now, I copied the content, deleted the file from shell, and from shell created the file again and pasted it....before it gave me some message - converted from DOS format bla bla
09-21-2007 03:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Problems with Domains/Subdomains
I think the newline at the end is important otherwise the engine scripts cannot recognize the last line.

/Joximu
09-21-2007 03:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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