Douglas Muth on 20 Mar 2006 20:56:47 -0000


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

Re: [PLUG] DNS question


On 3/20/06, George Gallen <ggallen@slackinc.com> wrote:
>
> So why would there be a DNS query if it's supposed to check /etc/hosts
> first,
>   and I know the IP in /etc/hosts matches IP-ADDRESS-OF-SERVER, since
>   the ftp lpgeorge works, just takes a few seconds longer
>

I would guess that (for reasons unknown) an extra DNS query is being
performed.  I assume there are no search directives in host.conf?

I think the quickest way to figure out what's going on would be to run
"tcpdump -n" on the client machine (-n disables DNS lookups) and see
what's actually happening on the network.  Comparing the results of
"ftp ip" versus "ftp hostname" should show what else is being done.

-- Doug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug