SOA record for hosts?

Michael Voight mvoight at cisco.com
Mon Sep 6 16:47:12 UTC 1999



Ecol wrote:
> 
> I want to set some hosts' records to expire very quickly- with TTL=0 (or
> 30 minutes for example). So I set in my files:
> $ORIGIN com.
> mydomain          IN      SOA     nms.mydomain.com. root.mydomain.com. (
> 
>                 1999090204 10800 3600 604800 86400 )
>                 IN      NS      nms.mydomain.com.
>                 IN      NS      nms2.mydomain.com.
> $INCLUDE mydomain.com.dyn
> 
> and in file mydomain.com.dyn:
> ftp.mydomain.com.          IN      SOA   nms.mydomain.com.
> root.mydomain.com. (
>                 1999090207 10800 3600 604800 1800 )
>                 IN      CNAME   host1.mydomain.com.
> 
> and after named restart I can see in log file:
> nms named[6268]: mydomain.com.dyn:1: SOA for "ftp.mydomain.com" not at
> zone top "mydomain.com"

Correct. you can not put multiple SOA records into the file like this
(that is what include does. You need to delegate the ftp.mydomain.com
zone with NS records, then use another zone file.

Michael


More information about the bind-users mailing list