Re: [reSIProcate] ares doesn't send query to DNS servers of othersubnets
> 3) "why the subnet is equal ..."
>
> From the DNS server IP, one can lookup the routing table to see the
NIC
> that
> would be used. Resip already does this to populate the Via. From that
> adapter one gets the network mask. The network mask may be applied to
> either
> the DNS server IP or NIC IP to get the subnet address. With a mask of
> 255.255.255.0, the subnet IP would be 192.168.5.0/24. The IP for the
> adapter
> may also be used, if it's simpler.
DNS server(s) are not always in the same subnet as the IP Address for
the NIC.
What if a particular DNS server is reachable from 2 different NICs in
the box? (ie. a public DNS server)
Scott