What's you resolv.conf look like? I was getting long lookups until I
removed the 'domain xxxxx' and 'search' fields. Now it just
'nameserver' fields.
Also try 'strace -t <pgrm>' to see where the time is being taken up. On
the target system try 'strace -tfp `pidof inetd`'. I used a local LAN
ftp as a test where the local machines all had /etc/hosts entries.
Rgds,
tim.
John Aldrich wrote:
>
> You asked:
> > John, what does your hosts line in /etc/nsswitch.conf
> > say? It should look something like this:
> >
> > hosts: files dns
> >
> > There definitely does not need to be a nameserver running
> > for local lookups, as long as /etc/hosts is complete and
> > accurate.
> >
> Here's the relevant section of my /etc/nsswitch.conf
> passwd: files nisplus nis
> shadow: files nisplus nis
> group: files nisplus nis
>
> #hosts: db files nisplus nis dns
> hosts: files nisplus nis dns
>
>
> Now, I'm not running NIS... at least I don't *think* so....
> At least not under that name...
> Thanks...
> John
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
--
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list