DNS on Windows NT
Bruce Clement
kiore at ihug.co.nz.everything.after.first.nz.is.antispam
Fri Sep 17 22:19:15 UTC 1999
Hi Dennis,
You don't give quite enough information to set up BIND. Three big questions:
Which of nt-dns-primary & homer will be the primary name server?
Will chrp be a separately delegated zone with it's own soa, etc, or
merely entries in the test.milwcnty.com domain?
I've made the following assumptions: nt-dns-primary will be the primary
nameserver (the name is a bit of a give-away :) ), chrp will be integrated
in the test.milwcnty.com domain, and these IP numbers are individually
allocated.
You need to set up the following files:
In your windows directory (c:\winnt on my system)
named.boot (Change directory is this isn't your windows directory)
In your BIND data directory (c:\win32app\bind on my system)
db.test.milwcnty.com
db.156.46.11.14
db.156.46.11.15
db.156.46.11.16
Here's the contents you need: (Sorry about the formatting, my NT BIND runs
secondary to my Linux one throughout and these were hand edited from auto
generated secondary files before testing )
+------- named.boot --------+
;
; File: named.boot
; Purpose: give the DNS its start-up parameters and
; list of start-up files.
;
;
directory C:\\win32app\\bind ; ********* Change as appropriate for
your system
; ; NB the double \\
;
; establish a loopback entry for this machine, and tell
; it to load its identity from db.127.0.0
;
primary 0.0.127.IN-ADDR.ARPA db.127.0.0;
; set ourselves as primary server for the zone
;
primary test.milwcnty.com db.test.milwcnty.com
;
; provide reverse address-to-host mapping
;
primary 14.11.46.156.IN-ADDR.ARPA db.156.46.11.14
primary 15.11.46.156.IN-ADDR.ARPA db.156.46.11.15
primary 16.11.46.156.IN-ADDR.ARPA db.156.46.11.16
;
; prime the DNS with root server 'hint' information
;
cache . db.cache
;
; forwarders 10.11.12.13 10.20.30.40 ;***** Change & uncomment these
2 lines as needed
; slave ;***** Change
& uncomment these 2 lines as needed
+------- db.test.milwcnty.com --------+
$ORIGIN milwcnty.com.
test IN SOA nt-dns-primary.test.milwcnty.com. hostmaster.test.milwcnty.com.
(
1999091402 43200 7200 1209600 172800 )
IN NS nt-dns-primary.test.milwcnty.com.
IN NS homer.alpha.net.
IN MX 10 testmail.chrp.test.milwcnty.com.
IN A 156.46.11.14
$ORIGIN test.milwcnty.com.
localhost IN A 127.0.0.1
IN MX 10 testmail.chrp.test.milwcnty.com.
nt-dns-primary IN A 156.46.11.14
IN MX 10 testmail.chrp.test.milwcnty.com.
chrp IN MX 10 testmail.chrp.test.milwcnty.com.
$ORIGIN chrp.test.milwcnty.com.
localhost IN A 127.0.0.1
IN MX 10 testmail.chrp.test.milwcnty.com.
testweb IN A 156.46.11.15
IN MX 10 testmail.test.milwcnty.com.
testmail IN A 156.46.11.16
IN MX 10 testmail.chrp.test.milwcnty.com.
+------- db.156.46.11.14 --------+
$ORIGIN 11.46.156.in-addr.arpa.
14 IN SOA nt-dns-primary.test.milwcnty.com. hostmaster.test.milwcnty.com. (
1999091402 43200 7200 1209600 172800 )
IN NS nt-dns-primary.test.milwcnty.com.
IN NS homer.alpha.net.
14 IN PTR nt-dns-primary.test.milwcnty.com.
+------- db.156.46.11.15 --------+
$ORIGIN 11.46.156.in-addr.arpa.
15 IN SOA nt-dns-primary.test.milwcnty.com. hostmaster.test.milwcnty.com. (
1999091402 43200 7200 1209600 172800 )
IN NS nt-dns-primary.test.milwcnty.com.
IN NS homer.alpha.net.
15 IN PTR testweb.chrp.test.milwcnty.com.
+------- db.156.46.11.16 --------+
; db.156.46.11.16
$ORIGIN 11.46.156.in-addr.arpa.
16 IN SOA nt-dns-primary.test.milwcnty.com. hostmaster.test.milwcnty.com. (
1999091402 43200 7200 1209600 172800 )
IN NS nt-dns-primary.test.milwcnty.com.
IN NS homer.alpha.net.
16 IN PTR testmail.chrp.test.milwcnty.com.
+------ END of files ------+
You should already have a db.127.0.0 file as part of the distribution.
Cheers
Bruce
--
The internet doesn't exist, it is merely an illusion in the minds of
routers.
Dennis Francis <ddfdp at admin2.chrp.milwcnty.com> wrote in message
news:37E2737E.8181DBAC at admin2.chrp.milwcnty.com...
> I am setting up BIND on Windows NT server 4.0 with service pack 4. I am
> new to BIND so I am asking for some help to configure the files.
>
> SERVER: nt-dns-primary
> IP ADDRESS: 156.46.11.14
> DOMAIN: test.milwcnty.com
> OTHER NAME SERVERS: homer.alpha.net.
>
> I also want to create a subdomain in the parent's zone.
>
> SUBDOMAIN: chrp.test.milwcnty.com
> HOST: testweb
> IP ADDRESS: 156.46.11.15
> HOST: testmail
> IP ADDRESS: 156.46.11.16 (mx entry for mail server)
>
> Thank you very much
>
>
>
More information about the bind-users
mailing list