NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Named in NetBSD 7.0.1



> On Mon 27 Jun 2016 at 23:17:45 +0200, Havard Eidnes wrote:
>> > I have named (from 7.0.1) spewing the following errors every few
>> > seconds:
>> >
>> > Jun 23 21:09:56 murthe named[22809]: client 0x7f7ff0677800 (220.29.86.203.in-addr.arpa): query_find: unexpected error after resuming: failure
>>
>> None of the delegated-to name servers for 29.86.203.in-addr.arpa
>> respond when queried about this zone.
>
> This wasn't logged before, as far as I can tell.

Correct, if you came from netbsd-6 code.

> Do you know of any reason why that would have changed?

This seems to have come along with the upgrade of BIND from
9.9.7-P3 to 9.10.3-P4, a diff of
external/bsd/bind/dist/bin/named/query.c shows:

@@ -7062,6 +7770,10 @@ query_find(ns_client_t *client, dns_fetc
                /*
                 * Something has gone wrong.
                 */
+               snprintf(errmsg, sizeof(errmsg) - 1,
+                        "query_find: unexpected error after resuming: %s",
+                        isc_result_totext(result));
+               CTRACE(ISC_LOG_ERROR, errmsg);
                QUERY_ERROR(DNS_R_SERVFAIL);
                goto cleanup;
        }

Now, it's not clear that this message contributes much in the
form of clarity, so if the log message is sufficiently annoying
you may want to #if 0 its generation and build + install your own
variant.

>> What causes your PTR lookup I can't answer offhand.
>
> Probably part of some spam check, or reverse lookup by sshd, or
> something along those lines.

Sounds likely.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index