Current time: 11-16-2024, 03:44 PM Hello There, Guest! (LoginRegister)


Post Reply 
Wo werden die bind Templates Generiert?
Author Message
kintaro Offline
Junior Member
*

Posts: 37
Joined: Jul 2008
Reputation: 0
Post: #1
Wo werden die bind Templates Generiert?
Hallo,
Ich möcht gern wissen wo die Templates für Bind Generiert werden (die Nameserver Templates)

Ich Habe die Datei /etc/ispcp/bind/parts/db_master_e.tpl nach meinen Bedürfnissen angepasst, aber er gibt mir weiterhin eine Standart datei aus, wesshalb das?

Mein System Ist Ubuntu 8.04, Fixe IP, Root (nicht Virtuell), IspCP RC5

/etc/ispcp/bind/parts/db_master_e.tpl:
Code:
;; Test
$TTL 12H
@               IN              SOA             server01.{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              server01.{DMN_NAME}.
                IN              MX      10      mail.{DMN_NAME}.

{DMN_NAME}.     IN              A               123.3.45.55
www             IN              A               123.3.45.55
localhost       IN              A               127.0.0.1
mail            IN              A               123.3.45.55
ns1             IN              A               123.3.45.55
; 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.


Generierte datei:
Code:
$TTL 12H
$ORIGIN domain.ch.
@               IN              SOA             ns1.domain.ch. postmaster.domain.ch. (
; dmn [domain] timestamp entry BEGIN.
                2008071800     ; Serial
; dmn [domain] timestamp entry END.
                8H              ; Refresh
                15M             ; Retry
                4W              ; Expire
                3H              ; Minimum TTL
)
                IN              NS              ns1.domain.ch.
                IN              NS              ns2.domain.ch.
                IN              MX      10      mail.domain.ch.

domain.ch.     IN              A               192.168.1.101
www             IN              A               192.168.1.101
domain.ch.     IN              TXT             "v=spf1 a mx ip4:192.168.1.101 ~all"
localhost       IN              A               127.0.0.1
mail            IN              A               123.3.45.55
ns1             IN              A               123.3.45.55
ns2             IN              A               192.168.1.102
; 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.

grüsse kintaro
07-18-2008 09:49 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Wo werden die bind Templates Generiert? - kintaro - 07-18-2008 09:49 AM

Forum Jump:


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