CentOS and Fedora -> "hosts: files dns"
Ubuntu ->  "hosts : files mdn4_minimal [NOTFOUND=return]" dns

When I use Part B  /etc/hosts setting,  the connection will try to connect to  127.0.0.1:57835, which gets connection fail due to  stunnel is not listening on the lookback interface.
But my stunnel.conf actually is 10.136.160.88:57835.

Thanks
Jay

2018-04-16 19:35 GMT+08:00 Jochen Bern <jochen.bern@binect.de>:
On 04/16/2018 10:11 AM, White Little wrote:
> Part B.
> If the "127.0.0.1"  include the hostname in /etc/hosts, both CentOS and
> Fedora will fail,  but Ubuntu still work

For sake of completeness: What does the "host:" line in
/etc/nsswitch.conf say on those systems, and what's the DNS's reply when
you try to look up the respective hostname in it?

Regards,
--
Jochen Bern
Systemingenieur

www.binect.de
www.facebook.de/binect


_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users