Missing Something Obvious - Virtual IPs

Barry Margolin barmar at genuity.net
Wed May 17 17:01:42 UTC 2000


In article <Pine.LNX.4.21.0005170105590.993-100000 at geek.net>,
Robert A. Hayden <rhayden at geek.net> wrote:
>I have a linux box that is my main machine and is also (now) my primary
>DNS server.  The DNS IP is different than the IP of the main box so I've
>aliased the new IP to it.  
>
>However, I now have the obvious problem that BIND is responding to queries
>on the default IP of the machine instead of on the aliased one.  Maybe
>this isn't a big deal save the "NOTIFY(SOA) from non-master
>server" warnings.

BIND shouldn't be *responding* on the default IP.  It tries hard to respond
from the same address that a query was sent to.

However, when BIND sends a message that isn't a response to an incoming
query, it normally lets the OS decide on the source address.  The
query-source option can be used to configure the source address and/or port
for outbound queries and notifies, and the transfer-source option can be
used to configure the source address of zone transfer requests.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list