[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: The state of resolv.conf



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 clients from specific networks to different servers
  you can use BIND and view statements:

view "name" {
	match-clients { 10.0.0.0/8; };
	forwarders { 1.2.3.4; };
	forward only;
};

- if you want redirect target domains to different servers you can use
  BIND and forward zones:

zone "example" IN {
        type forward;
        forward only;
        forwarders { 1.2.3.4; };
};

Adam

-- 
Adam Tkac, Red Hat, Inc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]