PROBLEM WITH DNS ZONE SERVER
Kevin Darcy
kcd at daimlerchrysler.com
Sat Jun 30 00:41:39 UTC 2001
"#" is not considered a comment character in a zone file. Use ";" instead.
- Kevin
phinean at hotmail.com wrote:
> These are the five files you need to run a zone dns server "to my
> knowledge"
> /etc/named.conf, localhost.zone, named.ca, named.local,
> giantgarden.net, 192.168.100.1
>
> But i keep getting error messgaes when i restart named
> But the dns cache nameserver works....just not as a zone dns
> server.....what am i doing wrong?
>
> ###########################################################################
> ###########################################################################
>
> <<<<< /etc/named.conf >>>>>>>
>
> // generated by named-bootconf.pl
>
> options {
> directory "/var/named";
> ########## Added by jack 6/026/01 ###########
> ### S E C U R I T Y ###
> # recursion no;
> # //allow query {208.164.186/24; 127.0.0/8; };
> # //allow transfer {208.164.186.2; };
> # transfer-format many-answers;
> ################################################
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> };
>
> //
> // a caching only nameserver config
> //
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> zone "localhost" IN {
> type master;
> file "localhost.zone";
> allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
> type master;
> file "named.local";
> allow-update { none; };
> };
> ########## Added by jack 6/026/01 ########
>
> zone "giantgarden.net" IN {
> type master;
> file "giantgarden.net";
> };
>
> zone "1.100.168.192.in-addr.arpa" IN {
> type master;
> file "192.168.100.1";
> };
> ############################################
> key "key" {
> algorithm hmac-md5;
> secret "0wNWvnnrdPtZNgCjDgaNqYNXJndBBFNpdxmIFiSxwSsKYQvVLqrBHGTEMaPF";
> };
>
> #########################################################################
> #########################################################################
>
> <<<<<< /var/named/giantgarden.net >>>>>>>>>>
>
> ######### Created by jack 06/26/01 #########
> ### giantgarden.net ###
> $TTL 86400
> @ IN SOA giantgarden.net. root.giantgarden.net. (
> 2001062901 ; serial, today's date + today's serial
> 28800 ; refresh, seconds
> 14400 ; retry, seconds
> 3600000 ; expire, seconds
> 86400 ) ; minimum, seconds
> NS ns ; nameserver
> MX 10 mail.giantgarden.net. ; primary mail server
>
> localhost A 127.0.0.1
>
> mail A 192.168.100.10
> HINFO "i386 166 Mhz"
>
> ns A 192.168.100.10
> HINFO "i386 166 Mhz"
>
> submain A 192.168.100.10
> HINFO "i386 166 Mhz"
>
> server A 192.168.100.1
> HINFO "i386 133 Mhz"
>
> sprout A 192.168.100.6
> HINFO "Intel Pentium II 400 Mhz"
>
> unix A 192.168.100.5
> HINFO "Turbo Sparc 170 Mhz"
>
> ###########################################################################
> ###########################################################################
>
> <<<<<<< /var/named/localhost.zone >>>>>>>>>
>
> $TTL 86400
> $ORIGIN localhost.
> @ 1D IN SOA @ root (
> 42 ; serial (d. adams)
> 3H ; refresh
> 15M ; retry
> 1W ; expiry
> 1D ) ; minimum
>
> 1D IN NS @
> 1D IN A 127.0.0.1
>
> ###########################################################################
> ###########################################################################
>
> <<<<<<< /var/named/named.ca >>>>>>>>>>>>>
>
> ; 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 registration services
> ; under anonymous FTP as
> ; file /domain/named.root
> ; on server FTP.RS.INTERNIC.NET
> ; -OR- under Gopher at RS.INTERNIC.NET
> ; under menu InterNIC Registration Services (NSI)
> ; submenu InterNIC Registration Archives
> ; file named.root
> ;
> ; last update: Aug 22, 1997
> ; related version of root zone: 1997082200
> ;
> ;
> ; 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
>
> ###########################################################################
> ###########################################################################
>
> <<<<<<<< /var/named/named.local >>>>>>>>
>
> $TTL 86400
> @ IN SOA localhost. root.localhost. (
> 1997022700 ; Serial
> 28800 ; Refresh
> 14400 ; Retry
> 3600000 ; Expire
> 86400 ) ; Minimum
> IN NS localhost.
>
> 1 IN PTR localhost.
>
> ###########################################################################
> ###########################################################################
>
> <<<<<<<< /var/named/192.168.100.1 >>>>>>>>
>
> ########## Created by jack 06/26/01 ##########
> ### 192.168.100.1 ###
> $TTL 86400
> @ IN SOA ns.giantgarden.net. root.giantgarden.net. (
> 2001062901 ; serial, today's date + today's serial
> 28800 ; refresh, seconds
> 14400 ; retry, seconds
> 3600000 ; expire, seconds
> 86400 ) ; minimum, seconds
> NS ns.giantgarden.net.
>
> 1 PTR server.giantgarden.net.
> 5 PTR unix.giantgarden.net.
> 6 PTR sprout.giantgarden.net.
> 10 PTR ns.giantgarden.net.
> 10 PTR mail.giantgarden.net.
>
> ###########################################################################
> ###########################################################################
>
> <<<<< ERROR MESSAGES >>>>>>>
>
> Jun 29 14:10:44 submain named: named shutdown succeeded
> Jun 29 14:10:45 submain named: named startup succeeded
> Jun 29 14:10:45 submain named[969]: starting BIND 9.1.0 -u named
> Jun 29 14:10:45 submain named[969]: using 1 CPU
> Jun 29 14:10:45 submain named[973]: loading configuration from
> '/etc/named.conf'
> Jun 29 14:10:45 submain named[973]: the default for the
> 'auth-nxdomain' option is now 'no'
> Jun 29 14:10:45 submain named[973]: no IPv6 interfaces found
> Jun 29 14:10:45 submain named[973]: listening on IPv4 interface lo,
> 127.0.0.1#53
> Jun 29 14:10:45 submain named[973]: listening on IPv4 interface eth0,
> 192.168.100.10#53
> Jun 29 14:10:45 submain named[973]: master.c:1172: unexpected error:
> Jun 29 14:10:45 submain named[973]: dns_master_load: 192.168.100.1:1:
> no TTL specified. THIS ZONE WILL NO LONGER WORK IN FUTURE VERSIONS.
> Add a TTL.
> Jun 29 14:10:45 submain named[973]: dns_master_load: 192.168.100.1:1:
> unknown RR type 'Created'
> Jun 29 14:10:45 submain named[973]: dns_zone_load: zone
> 1.100.168.192.in-addr.arpa/IN: loading master file 192.168.100.1:
> unknown class/type
> Jun 29 14:10:45 submain named[973]: master.c:1172: unexpected error:
> Jun 29 14:10:45 submain named[973]: dns_master_load:
> giantgarden.net:1: no TTL specified. THIS ZONE WILL NO LONGER WORK IN
> FUTURE VERSIONS. Add a TTL.
> Jun 29 14:10:45 submain named[973]: dns_master_load:
> giantgarden.net:1: unknown RR type 'Created'
> Jun 29 14:10:45 submain named[973]: dns_zone_load: zone
> giantgarden.net/IN: loading master file giantgarden.net: unknown
> class/type
> Jun 29 14:10:45 submain named[973]: running
More information about the bind-users
mailing list