[Q] How to do not logging 'Default TTL' ?

David Botham dns at botham.net
Wed Jan 8 19:52:12 UTC 2003




> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of =B8=F0=B1=E2=C1=F8
> Sent: Wednesday, January 08, 2003 2:38 AM
> To: comp-protocols-dns-bind at isc.org
> Subject: Re: [Q] How to do not logging 'Default TTL' ?
>=20
>=20
>=20
>=20
> those who know me have no need of my name wrote:
>=20
> > in comp.protocols.dns.bind i read:
> >
> > >If I don't put a default TTL value in a zone file,
> > >BIND always grumbles
> > >
> > >      '...No default TTL ($TTL <value>) set, using SOA minimum
> > >instead'
> >
> > >I don't want to put the default TTL value to all the zone files
> >
> > i'd ask why, but actually i don't much care why you want to avoid
> trivial
> > labor in order to eliminate trivial log entries.
>=20
> The thing you must know, it may not be a kinda trivial labor.
>=20
> I MEANT that I just don't want to use $TTL <value>.
> I just want to use SOA option value like belows;

You should read RFC 2308 before you make you final decision on what you
want to do.  Standards compliant name servers will expect you to follow
the rules...

Dave...

>=20
>=20
> $TTL 8H  <=3D=3D=3D=3D I DON'T WANT TO USE THIS.
> =
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> ; Domain 'domain.tree' for SOME COMPANY
> =
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> @               IN      SOA     prmns.domain.tree.
root.prmns.domain.tree.
> (
>                                 2002123003      ;serial
>                                 86400           ;refresh
>                                 3600            ;retry
>                                 604800          ;expire
>                                 300    )       ;minimum   =
<=3D=3D=3D=3D I WANT
USE
> ONLY THIS
>=20
>=20
> >
> >
> > >I want to use SOA's minimum TTL value instead of default TTL ('$TTL
> > >8H').
> > >
> > >How can I make BIND not to grumble with kinda above message?
> >
> > just ignore the log entries, it's already doing what you want.  if
you
> > cannot stand seeing the log entries, and you don't want to blind
> yourself,
> > then you are welcome to hack the code to eliminate the message.
> >
>=20
> The DNS Server, which We(my company) have, has more than 1,000
> domains.
>=20
> If I don't put the default TTL to DB file ($TTL xH), DNS makes logs
> more than 1,000 entries.
> Then, ignoring the log entries? If I do that, how can I find the
important
> logs like DB file errors, named.conf error,....etc ?
>=20
> Thank you for your reply but, I cannot help say sorry that I felt your
> message kinda cynical.



More information about the bind-users mailing list