Wrong IP Lookup

Norman Zhang norman.zhang at rd.arkonnetworks.com
Wed Dec 1 06:56:21 UTC 2004


Kevin Darcy wrote:
>>>Try the "sortlist" config statement.
>>
>>Thanks Nicolas. I'm currently away from the box. I'll try to do 
>>something like the following. Will this do?
>>
>>view "LAN1" {
>>  match-clients { 192.168.11.0/24; };
>>
>>  sortlist { 192.168.11.0/24; };
>>
>>  zone "hq.arkonnetworks.com" {
>>     type master;
>>     file "db.hq.arkonnetworks.com";
>>     allow-update { 192.168.11.0/24; 192.168.22.0/24; };
>>};
>>
>> ...
> 
> If sortlist works for you, why bother with the views?

I used sortlist in options and it worked. But now I have a more 
interesting situation. I've a VLAN (192.168.99.0/24) which looks up DNS 
from 192.168.11.0/24. Thus when it resolves a multihomed host, the IPs 
again returned in random fashion (sometimes 192.168.11.21 first and 
somtimes 192.168.22.21 first).

I'm wondering do I really need to use views now? If so, does my config 
above work? Please advise.

Regards,
Norman Zhang



More information about the bind-users mailing list