Bind Configuration - Is it correct?

nj njdownes at hotmail.com
Fri Feb 18 16:04:46 UTC 2005


Hi,

I was just wondering if my BIND configuration is correct. I basically
want both of my machines accessible from the Internet.

BTW, I only have one external IP address.

If anyone can give me any pointers on errors I might have made, that
would be great.

If you need any more information you need about my setup, please ask.


Thanks in advance.


named.conf

// Default named.conf generated by install of bind-9.2.4-8_FC3


zone "linux." IN {
	type master;
	file "linux.db";
};
zone "13.7.80.IN-ADDR.ARPA." IN {
	type master;
	file "80.7.13.db";
};

zone "2.168.192.IN-ADDR.ARPA." IN {
	type master;
	file "192.168.2.db";
};
zone "0.0.127.IN-ADDR.ARPA." IN {
	type master;
	file "127.0.0_0.db";
};
zone "njdownes.com." IN {
	type master;
	file "njdownes.com.db";
};
options {
	directory "/var/named";
	dump-file "/var/named/data/cache_dump.db";
	statistics-file "/var/named/data/named_stats.txt";
};
include "/etc/rndc.key";



127.0.0.db

$TTL 1H
@	SOA	linux.njdownes.com.	root.linux.njdownes.com. (	1
						3H
						1H
						1W
						1H )
	NS	linux.njdownes.com.
1	PTR	linux.njdownes.com.



192.168.2.db

$TTL 1H
@	SOA	linux.njdownes.com.	root.linux.njdownes.com. (	1
						3H
						1H
						1W
						1H )
				NS	linux.njdownes.com.
3	PTR	linux.njdownes.com.
2	PTR	njd-vaio.njdownes.com.



njdownes.com.db

$TTL 1H
@	SOA	linux.njdownes.com.	root.linux.njdownes.com. (	1
						3H
						1H
						1W
						1H )
							NS	linux.njdownes.com.
njd-vaio	A	192.168.2.2
#linux	A	192.168.2.3
linux	A	80.7.13.151



named.root

;       This file holds the information on root name servers needed to
;       initialize cache of Internet domain name servers
;       (e.g. reference this file in the "cache  .  <file>"
;       configuration file of BIND domain name servers).
;
;       This file is made available by InterNIC
;       under anonymous FTP as
;           file                /domain/named.root
;           on server           FTP.INTERNIC.NET
;       -OR-                    RS.INTERNIC.NET
;
;       last update:    Jan 29, 2004
;       related version of root zone:   2004012900
;
;
; formerly NS.INTERNIC.NET
;
.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
;
; formerly NS1.ISI.EDU
;
.                        3600000      NS    B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.      3600000      A     192.228.79.201
;
; formerly C.PSI.NET
;
.                        3600000      NS    C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
;
; formerly TERP.UMD.EDU
;
.                        3600000      NS    D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
;
; formerly NS.NASA.GOV
;
.                        3600000      NS    E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
;
; formerly NS.ISC.ORG
;
.                        3600000      NS    F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
.                        3600000      NS    G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
.                        3600000      NS    H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
;
; formerly NIC.NORDU.NET
;
.                        3600000      NS    I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
;
; operated by VeriSign, Inc.
;
.                        3600000      NS    J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET.      3600000      A     192.58.128.30
;
; operated by RIPE NCC
;
.                        3600000      NS    K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET.      3600000      A     193.0.14.129
;
; operated by ICANN
;
.                        3600000      NS    L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET.      3600000      A     198.32.64.12
;
; operated by WIDE
;
.                        3600000      NS    M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET.      3600000      A     202.12.27.33
; End of File



More information about the bind-users mailing list