There are a lot of things that I see.  Most importantly are the numbers at
the top.  Convert them to seconds and save yourself some trouble.  When 8H
became 8 it changes 8 hours to 8 seconds.  Most people/programs use the
seconds only.

Secondly, use the IN A, IN CNAME, IN NS, etc.  Forgetting the "IN" word
would possibly mess things up.  So keep the new file and convert the
numbers to seconds and your problems should go away.

Warren

On Sun, 5 Dec 1999, Robert Canary wrote:

> Hi, (sorry for the lengthy post)
> 
> I am having a bit of a problem with my named.  Here is one of the zone
> files.  Something changed these files and I was aware of it.  This is
> what it looked like before I changed it back to the original.  But this
> one (and the others) kept crapping out.  I am looking through my bind
> book but I can't find anything that tells me for sure what is going on. 
> This paticular zone file covers a domain that I host for a local radio
> station.  It address points to the man httpd server with a virtual
> host.  However, I am getting the same errors with other zone files as
> well, even the local. What is wrong with the zone file?
> 
> ;
> ; Zone file for wxmzfm.com
> ;
> ;
> @             IN      SOA     mchn3.ohiocounty.net.   rwcanary.ohiocounty.net. (
>                       2147483647 ; serial
>                       8 ; refresh
>                       2 ; retry
>                       1 ; expire
>                       1 ; default_ttl
>                       )
> ;
> @             IN      NS      208.32.6.30.
> @             IN      NS      208.32.6.20.
> @             IN      MX      10      mail
> ;
> localhost             IN      A       127.0.0.1
> www           IN      A       208.32.6.33
> 
> Here is the one that runs semi-correctly.
> 
> ;
> ; Zone file for wxmzfm.com
> ;
> ;
> @       IN      SOA     mchn3.ohiocounty.net. rwcanary.ohiocounty.net. (
>                         199909011606    ; serial, todays date + todays
> serial #
>                         8H              ; refresh, Hours, Seconds
>                         2H              ; retry
>                         1W              ; expire
>                         1D)             ; minimum TTL
> ;
>                 NS      208.32.6.30.    ; Inet Address of Nameserver
>                 NS      208.32.6.20.    ; Inet Address of Scnd
> NameServer
>                 MX      10 mail         ; Primary Mail Exchanger
> ;
> localhost       A       127.0.0.1
> www             A       208.32.6.33
> 
> However named dies when I boot the server, and I have to restart it
> manually.  Here is a clip of the log when I restarted named.
> I am still getting TTL errs. I am also getting a pwierd sysquery
> message.
> Dec  5 17:16:43 mchn3 named[1099]: sysquery: sendto([0.0.136.81].53):
> Invalid argument
> 
> Dec  5 17:16:18 mchn3 named[1098]: hint zone "" (IN) loaded (serial 0)
> Dec  5 17:16:18 mchn3 named[1098]: Zone "ohiocounty.net" (file
> named.ohiocounty.net): No default TTL set using SOA minimum instead 
> Dec  5 17:16:18 mchn3 named[1098]: master zone "ohiocounty.net" (IN)
> loaded (serial 2340515995)
> Dec  5 17:16:18 mchn3 named[1098]: Zone "wxmzfm.com" (file
> named.wxmzfm.com): No default TTL set using SOA minimum instead
> Dec  5 17:16:18 mchn3 named[1098]: master zone "wxmzfm.com" (IN) loaded
> (serial 2340515990)
> Dec  5 17:16:18 mchn3 named[1098]: Zone "0.0.127.in-addr.arpa" (file
> named.local): No default TTL set using SOA minimum instead 
> Dec  5 17:16:18 mchn3 named[1098]: master zone "0.0.127.in-addr.arpa"
> (IN) loaded (serial 2334695797)
> Dec  5 17:16:18 mchn3 named[1098]: Zone "6.32.208.in-addr.arpa" (file
> named.208.32.6): No default TTL set using SOA minimum instead
> Dec  5 17:16:18 mchn3 named[1098]: master zone "6.32.208.in-addr.arpa"
> (IN) loaded (serial 2340515994)
> Dec  5 17:16:18 mchn3 named[1098]: listening on [127.0.0.1].53 (lo)
> Dec  5 17:16:18 mchn3 named[1098]: listening on [208.32.6.3].53 (eth0)
> Dec  5 17:16:19 mchn3 named[1098]: Forwarding source address is
> [0.0.0.0].1037
> Dec  5 17:16:19 mchn3 named[1099]: Ready to answer queries.
> Dec  5 17:16:24 mchn3 named[1099]: Sent NOTIFY for
> "6.32.208.in-addr.arpa IN SOA" (6.32.208.in-addr.arpa); 1 NS, 1 A
> Dec  5 17:16:32 mchn3 named[1099]: Sent NOTIFY for "0.0.127.in-addr.arpa
> IN SOA" (0.0.127.in-addr.arpa); 1 NS, 1 A 
> Dec  5 17:16:43 mchn3 named[1099]: sysquery: sendto([0.0.136.81].53):
> Invalid argument
> Dec  5 17:16:43 mchn3 named[1099]: Sent NOTIFY for "wxmzfm.com IN SOA"
> (wxmzfm.com); 1 NS, 1 A
> 
> Thanks in advance ;-)
> 
> --
> robert canary
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to