Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 10:48:39 -0500
From:      Ralph Dratman <ralph@maxsoft.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: inetd services very slow to respond
Message-ID:  <v04210102b6954cd0f47c@[192.0.0.27]>
In-Reply-To: <v04210105b695423b774c@[192.0.0.27]>
References:  <v04210105b695423b774c@[192.0.0.27]>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris,

As you suggested, I did a query from the console of the slow server 
for resolution of the address of the client machine which was 
requesting services. Well, as it happens, the client machine I've 
been testing with does not have a DNS name, so I just put in
 
  >host 192.0.0.27

which happens to be the behind-the-firewall fake IP address of the 
requestor. And I got back "Host not found" with no delay. However, 
I've also experienced this delay from another machine, off-site, 
which DOES have a DNS name. I put in that name and after about a 5 
second delay got back a numeric IP from the reverse lookup. If I put 
in the name, I get the IP. Again, without much delay. As I mentioned, 
the name daemon is running on the server that shows the slowdown. But 
DNS queries are not slow... of course they don't go through inetd, 
either.

I don't see why this problem should be related to DNS. Note also (as 
described below) that the delay goes away when I run inetd with 
logging and debugging flags.

Ralph

====================
>DNS resolution is of the IP address you are coming _from_..try doing
>DNS queries for that IP address.
>
>Kris
=======================

>Y'all,
>
>(AGAIN...)
>
>The name resolution is fast in both directions, whether to or from 
>the slow machine. There's no apparent delay.
>
>Here's another twist to the story: I stopped inetd and started it 
>again with -dl (debugging and logging to standard output) flags. Now 
>the services are operating without delay!
>
>C'mon, group, this is a QUESTION...
>
>(Did activity on this list suddenly go away or is that just my 
>imagination? I just joined the list, then received about 75 posts 
>from Tuesday and only ONE, so far, from Wednesday, and it's almost 
>the end of the day.)
>
>Ralph Dratman
>
>P.S. OOPS! I just re-read my original post and here's a correction: 
>I'm running FreeBSD 3.3, not 2.2 as I incorrectly stated in that 
>message.
>
>==============
>>Sounds like DNS problems. What happens if you execute the following on
>>the slow machine,
>>
>>  % host <hostname or IP>
>>
>>Where the IP address or hostname is that of a machine that you connect
>>from.
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04210102b6954cd0f47c>