Re: BIND 8.3.1 is *SLOW*

2002-04-11 Thread Doug Barton

On Thu, 28 Mar 2002, David O'Brien wrote:

 Ever since this commit:
 
 date: 2002-02-04 19:12:33;  author: nectar;  state: Exp;  lines: +15 -1
 Import of ISC BIND 8.3.1-REL.
 

 my DNS look ups are slow, like an order of magnitude slower.
 By chance was a FreeBSD'ism left out of the upgrade?

The slowness you are experiencing is almost certainly related to
the fact that EDNS0 negotiation was added to 8.3.0. It's slightly better
than the way they do it in BIND 9, but still adds a delay the first time
you connect to a new server that's not EDNS0 aware. It's worse if you
connect to a lot of old and/or broken servers. Given the overwhelming
suck-itude of BIND 8  8.3.1, it's a pain we need to live with.


-- 
   We have known freedom's price. We have shown freedom's power.
  And in this great conflict, ...  we will see freedom's victory.
- George W. Bush, President of the United States
  State of the Union, January 28, 2002

 Do YOU Yahoo!?





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BIND 8.3.1 is *SLOW*

2002-03-28 Thread Jacques A. Vidrine

On Thu, Mar 28, 2002 at 12:51:12PM -0800, David O'Brien wrote:
 Ever since this commit:
 
 date: 2002-02-04 19:12:33;  author: nectar;  state: Exp;  lines: +15 -1
 Import of ISC BIND 8.3.1-REL.
 
 
 my DNS look ups are slow, like an order of magnitude slower.

Any empirical observations?

Hopefully others will see your message and can comment if they've
noticed anything similar.  I haven't.

 By chance was a FreeBSD'ism left out of the upgrade?

I'll triple check.

 Also shouldn't host(1) obey /etc/nsswitch.conf?

No:

  NAME
 host - look up host names using domain server

-- 
Jacques A. Vidrine [EMAIL PROTECTED] http://www.nectar.cc/
NTT/Verio SME  . FreeBSD UNIX .   Heimdal Kerberos
[EMAIL PROTECTED] .  [EMAIL PROTECTED]  .  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BIND 8.3.1 is *SLOW*

2002-03-28 Thread Peter Wemm

David O'Brien wrote:
 Ever since this commit:
 
 date: 2002-02-04 19:12:33;  author: nectar;  state: Exp;  lines: +15 -1
 Import of ISC BIND 8.3.1-REL.
 
 
 my DNS look ups are slow, like an order of magnitude slower.
 By chance was a FreeBSD'ism left out of the upgrade?

I haven't noticed any difference FWIW.

 Also shouldn't host(1) obey /etc/nsswitch.conf?

No.  host(1) is a dns specific tool.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BIND 8.3.1 is *SLOW*

2002-03-28 Thread Jesper Skriver

On Thu, Mar 28, 2002 at 12:51:12PM -0800, David O'Brien wrote:
 Ever since this commit:
 
 date: 2002-02-04 19:12:33;  author: nectar;  state: Exp;  lines: +15 -1
 Import of ISC BIND 8.3.1-REL.
 
 
 my DNS look ups are slow, like an order of magnitude slower.
 By chance was a FreeBSD'ism left out of the upgrade?

I've noticed strange slow response times too, but it's not using more
CPU than usual, this box takes about 150 queries/s

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:Network manager   @ AS3292 (Tele Danmark DataNetworks)
Private: FreeBSD committer @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BIND 8.3.1 is *SLOW*

2002-03-28 Thread David O'Brien

On Thu, Mar 28, 2002 at 01:00:36PM -0800, Peter Wemm wrote:
  Also shouldn't host(1) obey /etc/nsswitch.conf?
 
 No.  host(1) is a dns specific tool.

*sigh*.  So how does one figure out what amd and sendmail are seeing as
they try to resovlve addresses?
 
-- 
-- David  ([EMAIL PROTECTED])

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BIND 8.3.1 is *SLOW*

2002-03-28 Thread sthaug

  No.  host(1) is a dns specific tool.
 
 *sigh*.  So how does one figure out what amd and sendmail are seeing as
 they try to resovlve addresses?

tcpdump -ns 1500 -i INTERFACE udp port 53

Interface may be lo0 if you're running a name server on the same machine.

Steinar Haug, Nethelp consulting, [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BIND 8.3.1 is *SLOW*

2002-03-28 Thread Gregory Neil Shapiro

  Also shouldn't host(1) obey /etc/nsswitch.conf?
 No.  host(1) is a dns specific tool.

obrien *sigh*.  So how does one figure out what amd and sendmail are seeing as
obrien they try to resovlve addresses?
 
In sendmail's case:

sendmail -d8.8 _rest of args here_

Don't run a daemon with that though.

Or in the general case, you can watch resolver lookups with:

env RES_OPTIONS=debug _insert program here_


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message