[UCLA-LUG] Weird DNS alias problem

chris cbs@ucla.edu
Fri, 19 Nov 1999 10:25:43 -0800 (PST)


On Fri, 19 Nov 1999, Glenn Glazer wrote:
> At 07:45 PM 11/18/99 -0800, you wrote:
> >you don't want to use nis for hosts.  it sucks ass.  if you absolutely
> >have to use nis for hosts, reverse it to something like
> >
> > hosts: files dns nis
> 
> This is the way it is now after Eric's suggestion.  I #'ed out the previous
> line.

have you tried removing nis completely?  ie
 hosts: file dns

then make resolv.conf
 nameserver 128.97.128.1
 search math.ucla.edu

> Ping takes measureable time to return "www.foo.bar is alive" if I
> haven't pinged that site before.  Traceroute takes measureable time
> between each and every trace, including the first, to my gateway.
> Usually, each line in the trace takes approximately the same amount of
> time to produce, though sometimes I gets bursts of lines from routers in
> the core.  Again, this changes if I have traced or pinged it before. 

your traceroute delays could be caused by a name resolution delay.  if you
tell traceroute not to resolve dns is it "normal"  (traceroute -n) ?

and just to clarify, you can ping an ip directly and it is normal, but
pinging a hostname is "slow"?  and you're measuring slowness as the time
it takes to begin sending data to the ip, not as the roundtrip time for
each packet?

this is sparc linux, right?  are you running anything like nscd (name
service caching daemon), or anything else that might affect local name
service?  if you are, try turning it all off.



-chris