[Bug 207804] nscd negtive cache do not timeout for getaddrinfo:Non -recoverable failure in name resolution

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 18 04:03:37 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207804

Cy Schubert <cy at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-bugs at FreeBSD.org    |cy at FreeBSD.org
                 CC|                            |cy at FreeBSD.org
             Status|New                         |In Progress

--- Comment #3 from Cy Schubert <cy at FreeBSD.org> ---
I'm not able to reproduce this problem.

slippy$ while :; do psql -p 80 -h www.google.com; sleep 50; done
psql: received invalid response to SSL negotiation: H

I commented out all nameserver statements in resolv.conf

psql: could not translate host name "www.google.com" to address: hostname nor
servname provided, or not known
psql: could not translate host name "www.google.com" to address: hostname nor
servname provided, or not known

I restored all nameserver statements in resolv.conf

psql: received invalid response to SSL negotiation: H
psql: received invalid response to SSL negotiation: H

At no time was nscd restarted or cache flushed.

The test was performed on;

FreeBSD slippy 12.0-CURRENT FreeBSD 12.0-CURRENT #41 r318400M: Wed May 17
06:08:52 PDT 2017     root at slippy:/export/obj/opt/src/svn-current/sys/BREAK 
amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list