DNS newbie ... haaaaaaaaaaaaaaaalp !!

Steve steve at stevenet.olafsolutions.com
Wed Aug 23 16:13:42 UTC 2000



Without looking at your zone file ,it sounds like a typo in the file.

You need to carefully check your zone file line by line. Compare it with
the expamples in the DNS howto.

What the errors mean is that your zone file is misconfigured so its not
loading that zone ( domain).

Its not a critical error so named is ready to answer queries for what ever
zones (domains) did load. In your case, that justs the cacheing part of
named. 


Hope this helps,

Steve 
steve at stevenet.olafsolutions.com

On Wed, 23 Aug 2000, Joel Oliveira wrote:

> 
> Hi everybody .. 
>  
> Yes, I am a newbie :-( ... So please, bear with me.
>  
> I just got through a day of trying to set up DNS for the first time on
> a
> stock Redhat 6.2 installation. And so far I think I'm failing
> miserably.
>  
> Basically this is where I am :
> I read the DNS howto .. got the caching nameserver to work fine.  I
> then
> went on to try and config named and all the conf files for a recently
> purchased domain (detachablebrain.com).  I thought I was doing
> everything
> like I should .. instead of rambling too much I'll just show what I
> edited
> and see if anyone can see where I might be going wrong.
> 
> 
> Anyways .. here are the main errors I'm getting in /var/log/messages
> when I
> run `ndc restart` or the RH supplied /etc/rc.d/init.d/named script  :
> 
> named[13804]: Zone "0.0.127.in-addr.arpa" (file named.local): No
> default TTL
> set using SOA minimum instead
> 
> named[13804]: zone/detachablebrain.com:1: SOA for
> "N.detachablebrain.com"
> not at zone top "detachablebrain.com"
> 
> named[13804]: Zone "detachablebrain.com" (file
> zone/detachablebrain.com): no
> NS RRs found at zone top
> 
> named[13804]: master zone "detachablebrain.com" (IN) rejected due to
> errors
> (serial 200008197)
> 
> 
> ------------
> 
> but at the end .. I get this :
> 
> named[13805]: Ready to answer queries.
> 
> does this mean it should be pretty much good to go anyways ? even from
> those
> errors ?
> 
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------------------
> -------
> edited files 
> ----------------------------------------------------------------------------
> -------
> 
> 
> 
> # cat /etc/named.boot 
> ;
> ; a caching only nameserver config
> ;
> directory                              /var/named
> cache           .                      named.ca
> primary         0.0.127.in-addr.arpa   named.local
>  
> ----------------------------------------------------------------------------
> ------ 
> 
> # cat /etc/named.conf 
> options {
>         directory "/var/named";
> };
> zone "." {
>         type hint;
>         file "named.ca";
> };
> zone "0.0.127.in-addr.arpa"{
>         type master;
>         file "named.local";
> };
> 
> zone "detachablebrain.com" {
>         type master;
>         file "zone/detachablebrain.com";
> };
> 
> zone "53.239.207.in-addr.arpa" {
>         type master;
>         file "zone/207.239.53";
> };
> 
> ----------------------------------------------------------------------------
> ------ 
> 
> so far I'd imagine the two above files are ok ... the zone files are
> where I
> think I'm commiting the no-no's  :-/
> 
> ----------------------------------------------------------------------------
> ------ 
> 
> # cat /var/named/zone/detachablebrain.com 
> N      SOA     detachablebrain.com.  root.detachablebrain.com. (
>                         200008197      ; serial
>                         8H                   ; refresh, seconds
>                         2H                   ; retry, seconds
>                         1W                  ; expire, seconds
>                         1D )                 ; minimum, seconds
>                 NS      detachablebrain.com.
>                 MX      10 detachablebrain.com.  ; primary MX
>                 TXT     "Our Comp"
> 
> localhost       A       127.0.0.1
>         
> detachablebrain.com.    A       207.239.53.242 
> ns                      A       207.239.53.242
> www                     A       207.239.53.242
> 
> ftp             CNAME   detachablebrain.com.
> mail            CNAME   detachablebrain.com.
> news            CNAME   detachablebrain.com.
> 
> 
> ;
> ;       Workstations
> ;
> joel           A        207.239.53.245
>                MX      10 detachablebrain.com.   ; Primary Mail Host
> 
> ----------------------------------------------------------------------------
> ------ 
> 
> # cat /var/named/zone/207.239.53          
> @               IN      SOA     detachablebrain.com.
> root.detachablebrain.com. (
>                                 200008187  ; Serial
>                                 28800      ; Refresh
>                                 7200       ; Retry
>                                 604800     ; Expire
>                                 86400)     ; Minimum TTL
>                         NS      detachablebrain.com.
> ;
> ;       Servers
> ;
> 
> 1       PTR     detachablebrain.com.
> 
> 
> 
> -------------------------------------------
> 
> Thanks everyone ... 
>  
> Joel Oliveira
> joel at screenhouse.com
> joel at joeloliveira.com
> 
> 
> 




More information about the bind-users mailing list