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 "" (file 192.168.0): No default TTL set using SOA minimum instead

Hiw can i fix that
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
                           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)             IN  NS             IN  NS

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.

wqclatreAuthor Commented:

OK, thnks...
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.