Current time: 12-24-2024, 05:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
Wrong records in bind
Author Message
machinakias Offline
Newbie
*

Posts: 6
Joined: Dec 2010
Reputation: 0
Post: #1
Wrong records in bind
Hello eveybody!
I need your help with some issues in bind...
I just setup a new domain like (for example) site.gr

it creates the bind records like this...
(this file is admin.epsilon-computers.net.db)

Code:
$TTL 12H
$ORIGIN admin.epsilon-computers.net.
@               IN              SOA             [b]ns1.admin.epsilon-computers.net.[/b] postmaster.admin.epsilon-computers.net. (
; dmn [admin.epsilon-computers.net] timestamp entry BEGIN.
        2010122101    ; Serial
; dmn [admin.epsilon-computers.net] timestamp entry END.
                8H              ; Refresh
                15M             ; Retry
                4W              ; Expire
                3H              ; Minimum TTL
)
                IN              NS              [b]ns1.admin.epsilon-computers.net.[/b]
                IN              NS              [b]ns2.admin.epsilon-computers.net.[/b]
                IN              MX      10      [b]mail.admin.epsilon-computers.net.[/b]

admin.epsilon-computers.net.     IN              A               192.168.1.10
www             IN              A               192.168.1.10
admin.epsilon-computers.net.     IN              TXT             "v=spf1 a mx ip4:192.168.1.10 ip4:192.168.1.10 ~all"
localhost       IN              A               127.0.0.1
mail            IN              A               192.168.1.10
ns1             IN              A               192.168.1.10
ns2             IN              A               192.168.1.10
; 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.

; ctm domain als entries BEGIN.
vu2001        IN        A    192.168.1.10
; ctm domain als entries END.

the palfh.gr.db file that it creates is this...

Code:
$TTL 12H
$ORIGIN palfh.gr.
@               IN              SOA            [b] ns1.palfh.gr.[/b] postmaster.palfh.gr. (
; dmn [palfh.gr] timestamp entry BEGIN.
        2010122100    ; Serial
; dmn [palfh.gr] timestamp entry END.
                8H              ; Refresh
                2H              ; Retry
                7D              ; Expire
                1D              ; Minimum TTL
)
                IN              NS              ns1.palfh.gr.
                IN              NS              ns2.palfh.gr.
                IN              MX      10      mail.palfh.gr.

palfh.gr.     IN              A               192.168.1.10
www             IN              A               192.168.1.10
palfh.gr.     IN              TXT             "v=spf1 a mx ip4:192.168.1.10 ip4:192.168.1.10 ~all"
localhost       IN              A               127.0.0.1
mail            IN              A               192.168.1.10
ns1             IN              A               192.168.1.10
ns2             IN              A               192.168.1.10
; 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.

but these files does not seem right.....
there is no ns1.palfh.gr. thing..! (or any of the bold parts...)

I used xampp to setup my sites and the bind records seem like this

(xampp bind)
Code:
$ttl 60
epsilon-computers.net.    IN    SOA    ns1.epsilon-computers.net. webmaster.epsilon-computers.net. (
            1055026280
            6H
            1H
            5D
            20M )
epsilon-computers.net.    IN    A    MY EXTERNAL IP
www.epsilon-computers.net.    IN    CNAME    epsilon-computers.net.
ns1.epsilon-computers.net.    IN    A    MY EXTERNAL IP
mail.epsilon-computers.net.    IN    A    MY EXTERNAL IP
epsilon-computers.net.    60    IN    MX    10 mail.epsilon-computers.net.
ns1.epsilon-computers.net.    60    IN    PTR    MY EXTERNAL IP
mail.epsilon-computers.net.    60    IN    PTR    MY EXTERNAL IP
epsilon-computers.net.    60    IN    NS    ns1.epsilon-computers.net.
epsilon-computers.net.    IN    PTR    MY EXTERNAL IP

that xampp setup works fine....
i also used to run a zimbra mail server in 192.168.1.20,so i had the records for my mails there...

now,i dont need zimbra anymore (i guess i 'll use squirrel)...

so,my question is:
is there any way to setup ispcp to add my records to every new domain i create like xampp does?

or,in another case,which files do i have to edit so i get the correct records?

keep in mind that i use ubuntu server with internal ip 192.168.1.10 and i run the latest version of ispcp..

any help will be appreciated....
(This post was last modified: 12-21-2010 06:47 PM by machinakias.)
12-21-2010 06:41 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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