From: Rob H. <rob...@at...> - 2003-03-13 20:36:16
|
Thanks! With help from the list, I've got just what I want. Rob > -----Original Message----- > From: dev...@li... = [mailto:devil-linux- > dis...@li...] On Behalf Of Melo > Sent: Thursday, March 13, 2003 10:00 AM > To: dev...@li... > Subject: RE: [Devil-Linux-discuss] Configuring BIND for local DNS >=20 > I'm using DL5 for caching name server and it's very good > Below you can my configuration files. >=20 > I hope it's help you. >=20 >=20 > Melo. > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > my external net (internet) - 200.249.249.3 - 255.255.255.192 > my internal net (intranet) - 192.168.1.1 - 255.255.255.0 >=20 > ---- part of /etc/sysconfig/config ----- > # where to create the chroot jails > # !!! DO NOT CHANGE THIS PATH !!! > JAIL_DIR=3D/jail >=20 > # use the chroot jails? > JAIL_ENABLE=3Dyes >=20 >=20 > # Start Bind Name Server? > START_NAMED=3Dyes > ------------------------------------- > ---- part of /etc/sysconfig/software ----- > # install ISC_BIND? - NAMED > INSTALL_ISC_BIND=3Dyes >=20 > # install ISC_BIND_UTILS? > INSTALL_ISC_BIND_UTILS=3Dyes > ------------------------------------- > ---- /etc/named.conf ---------------- > options { > directory "/etc/named"; > query-source address * port 53; > }; >=20 > controls { > inet 127.0.0.1 allow { localhost; }; > }; > zone "." IN { > type hint; > file "named.ca"; > }; >=20 > zone "localhost" IN { > type master; > file "localhost.zone"; > allow-update { none; }; > }; > zone "192.168.1.in-addr.arpa"{ > type master; > file "192.rev"; > allow-update { none; }; > }; > zone "200.249.249.3.in-addr.arpa"{ > type master; > file "200.rev"; > allow-update { none; }; > }; > ---- /etc/named/named.ca ---------------- > ------------------------------------- > ; 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 128.9.0.107 > ; > ; 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 > ; > ; temporarily housed at NSI (InterNIC) > ; > . 3600000 NS J.ROOT-SERVERS.NET. > J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10 > ; > ; housed in LINX, operated by RIPE NCC > ; > . 3600000 NS K.ROOT-SERVERS.NET. > K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129 > ; > ; temporarily housed at ISI (IANA) > ; > . 3600000 NS L.ROOT-SERVERS.NET. > L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12 > ; > ; housed in Japan, operated by WIDE > ; > . 3600000 NS M.ROOT-SERVERS.NET. > M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33 > ; End of File > ---------------------------------------- > ---- /etc/named/localhost.zone ---------- > $TTL 86400 > $ORIGIN localhost. > @ 1D IN SOA @ root ( > 42 ; serial (d. adams) > 3H ; refresh > 15M ; retry > 1W ; expiry > 1D ) ; minimum >=20 > 1D IN NS @ > 1D IN A 127.0.0.1 > ----------------------------------------- > ---- /etc/named/192.rev ---------------- > $TTL 86400 > @ IN SOA dl_name_int.domain.dom. > my_email_name.my_domain.dom. ( > 2002102201 ; serial > 3600 ; refresh > 900 ; retry > 604800 ; expire > 86400 ; default_ttl > ) > @ IN NS dl_name_int.domain.dom. > 1 IN PTR dl_name_int.domain.dom. > ------------------------------------- > ---- /etc/named/200.rev ---------------- > $TTL 86400 > @ IN SOA dl_name_ext.domain.dom. > my_email_name.my_domain.dom. ( > 2002102201 ; serial > 3600 ; refresh > 900 ; retry > 604800 ; expire > 86400 ; default_ttl > ) > @ IN NS dl_name_ext.domain.dom. > 3 IN PTR dl_name_ext.domain.dom. > ------------------------------------- >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |