Setting up A dns server

I have tried to setup a dns server.
Everyting seems to be fine but i get this in my logs allthe time:
May 19 11:38:23 abbie named[280]: Zone "0.168.192.in-addr.arpa" (file 192.168.0): No default TTL set using SOA minimum instead


Hiw can i fix that
LVL 2
wqclatreAsked:
Who is Participating?
 
dsernaConnect With a Mentor Commented:
To fix that "problem" all you have to do is add a statement to that zone file with a TTL value. For example:

; SOA rec
$TTL 1H
tapatio.org.  IN SOA ns.tapatio.org.
dnsmaster.ns.tapatio.org. (
                           2000013000    ; serial number
                           10800       ; refresh every 3 hours
                           3600        ; retry every hour
                           604800      ; expire after a week
                           86400 )     ; TTL of 1 day
;NS Records (Name Servers)

tapatio.org.             IN  NS  ns.tapatio.org.
tapatio.org.             IN  NS  ns2.tapatio.org.


It seems that with the latest versions of bind, 8.2.x you have to specify a TTL at  the top of the zone file with a syntax of $TTL <value of ttl>.

Hope that helps.

-Daniel-
0
 
wqclatreAuthor Commented:

OK, thnks...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.