Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS xinetd issue?

Status
Not open for further replies.

Yrrk

IS-IT--Management
Aug 22, 2004
180
0
0
US
We run some code listening on a port and running under xinetd that received connections from other machines. If those other machines do not have proper DNS entries, /var/log/messages fills with warnings such as the following:

Code:
Apr  8 08:56:49 ps-sm-poly3u-09 xinetd[18388]: warning: /etc/hosts.allow, line 6: can't verify hostname: getaddrinfo(ps-ps-pogo-43.pg-43, AF_INET) failed Apr  8 08:56:49 ps-sm-poly3u-09 xinetd[18389]: warning: /etc/hosts.allow, line 6: can't verify hostname: getaddrinfo(ps-ps-pogo-43.pg-43, AF_INET) failed Apr  8 08:57:07 ps-sm-poly3u-09 xinetd[18397]: warning: /etc/hosts.allow, line 6: can't verify hostname: getaddrinfo(ps-ps-pogo-43.pg-43, AF_INET) failed

Does anyone know what causes this? Is xinetd doing a reverse lookup each time a connection occurs? If so, is there some way to disable this lookup?

I've tried altering the log_on_success and log_on_failure parameters in xinetd but it still occurs (figured removal of HOST would do it but it didnt).
 
Have you looked at /etc/nsswitch.conf? This may help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top