Jan Carlson wrote:
> 
[...]
> Diald setup is easy if you follow Jeff Balderson's
> proven method, attached.  Read Jeff's notes first,
> then the following:
> 
> 1. Enter your primary nameserver 2 or 3 times in /etc/resolv.conf.
> 
> This increases the domain request timeout, letting domain requests
> succeed while the modem is connecting and the ppp link is being
> established.
> It's easier than recompiling the kernel with a longer timeout.

I feel better (and it seems it works better) using named with forward
only option, and a list of forwarders in /etc/named.conf, the same IPs
you put in resolv.conf: here you can adjust logging and timeouts anytime
and every way you like. All this assuming you install bind 8.1.1 or
newer. I have an RH5.1 intel box with 20 windogs machines and 8 macs in
LAN, and it works fine.
My setup:

/etc/named.conf:

options {
        directory "/var/named";
        forward first;                  
        forwarders {
                xxx.xxx.xxx.xxx;        // same dns IPs you'd put in resolv.conf
                xxx.xxx.xxx.xxx;
                xxx.xxx.xxx.xxx;
        };
        listen-on { xxx.xxx.xxx.xxx/xx };       // ip and netmask of your eth if you
got a private LAN
};

zone "." {
        type hint;
        file "named.root";              // here are root servers
};

zone "xxx" {
        type master;
        file "xxx";                     // the fake dns for your LAN: remember to add 
reverse
mapping too!
}

...
...

> 2. Insert in /etc/rc.d/init.d/network just before network interfaces are
> started:
> 
> echo 5 > /proc/sys/net/ipv4/ip_dynaddr

If you install dialmon and change the sysv init script with the one
shipped with dialmon. it already does that for you and you can control
the link form a windogs machine same way you would with dctrl. You can
find it in redhat contrib section.

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

Reply via email to