[prev in list] [next in list] [prev in thread] [next in thread] 

List:       djbdns
Subject:    Re: binding a SOCK_DGRAM to multiple interfaces
From:       bobp () tsc ! com (Bob Poortinga)
Date:       2001-10-04 15:58:29
[Download RAW message or body]

David Nicol <nicold@umkc.edu> writes:
 
> Having dnscache and dnscachex both seems like unneeded duplication.
> 
> Options:
> 
> 1:  run dnscache on the external interface, and make local
> programs use the external interface instead of the faster local
> interface.
> 
> 2:  alter dnscache so that it can bind to both the internal and
> the external interfaces.

3: Run dnscachex with minimal cache size in forwardonly mode to dnscache.
   This has very little overhead.

echo 1 > /service/dnscachex/env/FORWARDONLY
echo "127.0.0.1" > /service/dnscachex/root/servers/@

-- 
Bob Poortinga  (mailto:bobp@tsc.com)
Technology Service Corp.
Bloomington, Indiana  US

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic