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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux