factor addresses out of 'forwarders' statement

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Jul 19 17:33:32 UTC 2019


On 18.07.19 13:24, John Thurston wrote:
>I have a number of 'forward' zones defined. Many of them look exactly 
>the same except for their name. It would be helpful to abstract the 
>addresses of my forwarders out and name them only once. But I can't 
>find any way to do this.
>
>An ACL doesn't make sense. A 'masters' list doesn't work.
>
>Is there some way to do this?
>
>alias { 10.10.1.2; 10.10.3.4; 10.10.5.6; }

>zone "foo" {type forward; forwarders ( alias;}; };

do you really need to use "type forward" zone?
that's needed when the zone contains subzones you do not know or their
nameservers are unreachable.

If not, you can try using stub or static-stub zone and named masters list.

yes, this is case where it would be greas to use masters for forward zones.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Eagles may soar, but weasels don't get sucked into jet engines.


More information about the bind-users mailing list