The state of resolv.conf

Paul Howarth paul at city-fan.org
Tue Sep 16 15:41:11 UTC 2008


Nils Philippsen wrote:
> On Tue, 2008-09-16 at 14:51 +0200, Adam Tkac wrote:
>> On Tue, Sep 16, 2008 at 01:34:06PM +0200, Ahmed Kamal wrote:
>>> Is there any current daemon that does this effect of directing name
>>> resolution to specific servers according to IP ranges and/or domain names,
>>> with the option of adding/removing servers on the fly ? Does dnsmasq do that
>>> ?
>>>
>> What you mean with "according to IP ranges/domain names"?
> [...]
>> - if you want redirect target domains to different servers you can use
>>   BIND and forward zones:
> 
> I would want to be able to do that based on domain names (which is
> easily done with BIND) and on classless IP ranges. I don't think the
> latter can be done as the IP ranges are octet-granular, e.g.
> 10.in-addr.arpa for 10.0.0.0/8 -- I can't imagine how I would tell BIND
> to use a certain server for e.g. 10.1.0.0/12 (where 4 MSB of the second
> octet are part of the network address and the remaining 4 LSB are part
> of the host address).

You could do it as 16 separate /16 forwards but obviously that would be 
very ugly and doing it for a /17 would be much worse...

Paul.




More information about the fedora-devel-list mailing list