> What debug level does named need to run at for normal everyday.
> and
>
> What needs to be enabled in the named.conf file to determine the zone and ent
> ry which is the root cause of the errors below?
>
>
> Jan 3 00:09:32 host.domain.com named[23208]: [ID 866145 daemon.warning] TTL
> differs in rdataset, adjusting 3600 -> 600
>
> Jan 3 02:19:32 host.domain.com named[23208]: [ID 866145 daemon.warning] TTL
> differs in rdataset, adjusting 3600 -> 600
>
> Jan 3 04:24:32 host.domain.com named[23208]: [ID 866145 daemon.warning] TTL
> differs in rdataset, adjusting 3600 -> 600
>
> Jan 3 06:54:33 host.domain.com named[23208]: [ID 866145 daemon.warning] TTL
> differs in rdataset, adjusting 600 -> 3600
>
> Thanks
>
> Ted


Index: lib/dns/diff.c
================================================== =================
RCS file: /proj/cvs/prod/bind9/lib/dns/diff.c,v
retrieving revision 1.9
diff -u -r1.9 diff.c
--- lib/dns/diff.c 5 Mar 2004 05:09:19 -0000 1.9
+++ lib/dns/diff.c 3 Jan 2005 23:01:31 -0000
@@ -30,8 +30,10 @@
#include
#include
#include
+#include
#include
#include
+#include
#include

#define CHECK(op) \
@@ -195,6 +197,9 @@
dns_difftuple_t *t;
dns_dbnode_t *node = NULL;
isc_result_t result;
+ char namebuf[DNS_NAME_FORMATSIZE];
+ char typebuf[DNS_RDATATYPE_FORMATSIZE];
+ char classbuf[DNS_RDATACLASS_FORMATSIZE];

REQUIRE(DNS_DIFF_VALID(diff));
REQUIRE(DNS_DB_VALID(db));
@@ -254,11 +259,19 @@
t->rdata.type == type &&
rdata_covers(&t->rdata) == covers)
{
+ dns_name_format(name, namebuf, sizeof(namebuf));
+ dns_rdatatype_format(t->rdata.type, typebuf,
+ sizeof(typebuf));
+ dns_rdataclass_format(t->rdata.rdclass,
+ classbuf,
+ sizeof(classbuf));
if (t->ttl != rdl.ttl && warn)
isc_log_write(DIFF_COMMON_LOGARGS,
ISC_LOG_WARNING,
- "TTL differs in rdataset, "
- "adjusting %lu -> %lu",
+ "'%s/%s/%s': TTL differs in "
+ "rdataset, adjusting "
+ "%lu -> %lu",
+ namebuf, typebuf, classbuf,
(unsigned long) t->ttl,
(unsigned long) rdl.ttl);
ISC_LIST_APPEND(rdl.rdata, &t->rdata, link);
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org