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

List:       djbdns
Subject:    binding a SOCK_DGRAM to multiple interfaces
From:       David Nicol <nicold () umkc ! edu>
Date:       2001-10-03 20:05:49
[Download RAW message or body]


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.

TCP servers can do this.  Is the problem that a UDP server cannot
do that because the recvmsg function does not tell you which interface
the packet arrived at?




-- 
                                           David Nicol 816.235.1187
            A mandatory quadricentennial constitutional convention.

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

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