Convice Bind to listen on IP alias with a range of IPs.

Augie Schwer augie.schwer at
Tue May 1 00:13:36 UTC 2012

Thanks for the reply, please see my previous e-mail about the address
being perfectly pingable on that interface.

We run PowerDNS and Unbound with a similar interface configuration
without a problem, I'm sure Bind can too, I just need to know what the
special config. option I'm missing is.

Any help is appreciated, thank you. :)


On Mon, Apr 30, 2012 at 4:36 PM, michoski <michoski at> wrote:
> On 4/30/12 2:56 PM, "Augie Schwer" <augie.schwer at> wrote:
>> I must be doing something wrong, because what I want to do doesn't
>> seem that difficult.
>> I have a range of IPs bound to a local interface:
>> lo:1      Link encap:Local Loopback
>>           inet addr:  Mask:
> This isn't a /27 CIDR range, it's one IP alias with the wrong netmask.  :-)
> IP aliases should generally have a netmask, and you'd need
> to configure aliases (ifcfg-lo:0, ifcfg-lo:1, etc.) for each IP in the range
> you want to listen-on.
>> And I want to convince Bind to listen on sub-set of the given range (
>> for example ), yet when I configure that IP:
>> listen-on {; };
>> Bind won't listen on that interface:
> Yes, indeed, only is up according to your ifconfig output.  Once
> you've fixed that, you should be able to use an IP range in your listen-on
> statement as needed, for example:
> listen-on { !; 10.0.0/24; };
> The BIND ARM shows you listen-on's full syntax:
> Good luck.
> --
> Men use thought only to justify their wrong doings,
> and speech only to conceal their thoughts.
>        -- Voltaire

Augie Schwer    -    Augie at    -

More information about the bind-users mailing list