Re: fc6: telnetd refuses connections if nameserver is down

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

 



On Tue, 2007-02-27 at 00:40 +0100, Dario Lesca wrote:
> Il giorno mar, 27/02/2007 alle 00.51 +0200, kalinix ha scritto:
> > Actually the "HOST" part is not in /etc/xinetd.d/telnet but
> > in /etc/xinetd.conf:
> >         log_on_failure  = HOST
> >         log_on_success  = PID HOST DURATION EXIT
> > 
> 
> Also comment out this line (this is my file part of xinetd.conf after
> comment)
> > 
> > # Define general logging characteristics.
> >         log_type        = SYSLOG daemon info
> > #       log_on_failure  = HOST
> > #       log_on_success  = PID HOST DURATION EXIT
> 
> and restart xinetd the problem persist.
> 
> Probably the problem is into resolver function, called from xinetd, like
> bugzilla https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221583
> say
> 
> > Comment #6
> > From Jakub
> > Jelinek 
> > on 2007-01-05
> > 13:17 EST
> > [reply]
> >  
> >  
> > nsswitch.conf containing hosts: ... dns and missing resolv.conf is an admin
> > error, either you should remove dns from nsswitch.conf, or supply a valid
> > resolv.conf.  The missing resolv.conf is the same as resolv.conf containing no
> > nameserver lines and that causes libresolv to return TRY_AGAIN, the same as if
> > a DNS is unreachable.  For that EAI_AGAIN is the correct answer, instead of
> > silently pretending DNS replied, but said there is no DNS entry for that IP
> > address.
> 
> Many thanks Kalinix
> 
> -- 
> Dario Lesca <d.lesca@xxxxxxxxxx>
> 

Dario,


from bug 221583:


"Sorry you are correct if a nameserver is configured correctly it return
the IP address as expected...

and 
... nsswitch.conf containing hosts: ... dns and missing resolv.conf is
an admin error, either you should remove dns from nsswitch.conf, or
supply a valid resolv.conf."


Do you have a nameserver configured (defined in /etc/resolv.conf) on
your telnet server?



Calin

=================================================
You will gain money by an illegal action.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux