Wilson Fletcher wrote:
> From: Lourdes Jones <[EMAIL PROTECTED]>
> >People typically want diald to close as soon possible after
> traffic stops
> >crossing the link.
>
> Unless they pay for the connection rather than the time.

Sorry, I was not trying to say that this is right for you.  I just tried to
explain why it was setup that way in the file.  It's a configuration file
precisely so you can change things to match your needs.

Take a good at the diald man page and investigating the impulse option.
  impulse 600,0,0
might be a good option if you want to keep the connection up for a minimum
of 10 minutes before checking any idle timers.

> >1. if you are using bind as a caching name server it will immediately
> >attempt to reach the root servers.  this is normal and expected for bind.

> Yes I think it is bind. The number (128.63.2.53) is in fact a root domain
> server (I checked it). But I do use a 486-50 for the gateway so I might
look
> into timing it out

I currently use RedHat 6.1.  I only boot to the command line (init 3).

This worked without dialing on a 486-33 (RH 5.2 and below).
  /etc/rc.d/rc3.d/S55named
  /etc/rc.d/rc3.d/S98diald

It dials with a P166 (I would have to start diald from /etc/rc.d/rc.local to
gain enough time, since I only boot the server when I upgrade kernels or
hardware it hasn't been worth making the change).

Note: bind starts querying the root servers immediately in order to
determine response times and which server it should poll first in future.
The bind users list claims bad things can happen if you don't allow this to
happen.  I never had any problems but your experience may vary.

> BUT !!!!! Why did it go out on port 1024 ? I thought it
> should be 53 to 53 or is that only for Xfers ?

Most likely because you are using bind 8 (instead of bind 4 which always
used port 53).  You can setup bind 8 to always use port 53 if you prefer.

--
options {
        query-source address * port 53;
//    ... your existing options
};
--

By default bind 8 only uses port 53 when replying or for zone transfers.
Basically when it's acting as a server it uses port 53, when it is polling
another name server it uses a random high port (1024 and above) like any
other program doing the same thing.

Note: bind 8 also picks a fixed high port (check your logs to see which one)
for any queries to forwarders.

Hope this helps,

Lourdes




-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to