$include

Charles Bodley Bodley at tflogic.com
Thu Feb 1 20:54:40 UTC 2001


that worked for ttl but won't work for NS
Feb  1 15:53:12 ns1 named[14249]: /var/named/NS:1: data "IN.com" outside
zone "test.com" (ignored)
Feb  1 15:53:12 ns1 named[14249]: Zone "test.com" (file db.test_com): no NS
RRs found at zone top
Feb  1 15:53:12 ns1 named[14249]: master zone "test.com" (IN) rejected due
to errors (serial 2001020101)

Any Ideas?

-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Bob Vance
Sent: Thursday, February 01, 2001 3:20 PM
To: bind-users at isc.org
Subject: RE: $include



>  $include /var/named/TTL

Yes  -- that'll work.



-----------------------------------------------
Tks          |  BVance at sbm.com
BV           |  BobVance at alumni.caltech.edu
Sr. Tech. Consultant,    SBM
Vox 770-623-3430         11455 Lakefield Dr.
Fax 770-623-3429         Duluth, GA 30097-1511
===============================================

-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Tbodley69 at yahoo.com
Sent: Thursday, February 01, 2001 12:44 PM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: $include


I'm getting tired of changing TTL's, we recently hed to relocate many
servers and I had to open every db file to modify the ttl's to 3600. is
there anyway I could include a $include statement to set the ttl's in
every file by modifying 1 file. I 'think' the syntax would look like
this. Can I also set these other variables MX and NS
; BIND for Linux configuration file for test.com
; (C) 2001 TF Logic, Inc.
; Written by Charles Bodley
;
; zone 'test.com'
$include /var/named/TTL
$ORIGIN com.
test           IN      SOA     test.com.  hostmaster.tflogic.com. (
                                    2001020101
                                    43200
                                    7200
                                    1209600
                                    3600 )
;
$include /var/named/NS
                        IN      A       216.143.228.41
                        IN      MX      10     $include /var/named/MX
;
$ORIGIN test.com.
localhost               IN      A       127.0.0.1
www     IN              CNAME   test.com.
ftp     IN              CNAME   test.com.


thearetically this should include the specified files. the contents of
those files are written below.

TTL
$TTL 3600

MX
tflogic.com.

NS
                        IN      NS      ns.tflogic.com.
                        IN      NS      ns2.tflogic.com.

Is this possible or am I nuts? Is there any other way of doing this?


Sent via Deja.com
http://www.deja.com/






More information about the bind-users mailing list