Variables in named.conf?
Vinny Abello
vinny at tellurian.com
Tue Apr 18 15:00:08 UTC 2006
At 10:47 AM 4/18/2006, Ronni Jensen wrote:
>Hi,
>
>
>Is it possible to define variables of some kind in named.conf to use
>with address lists.
>
>
>
>Example: also-notify {10.10.10.2;10.10.10.3;10.10.10.4;};
>
>
>
>
>
>Instead of having to change these addresses at a later time, it would be
>nice to do something like:
>
>
>
>$notify-servers {10.10.10.2;10.10.10.3;10.10.10.4;};
>
>
>
>And then:
>
>
>
>also-notify {$notify-servers};
>
>
>
>Is something like this possible?
>
>
>
>/jack :-)
You want to use the acl directive.
acl "notify-servers" {10.10.10.2; 10.10.10.3; 10.10.10.4;};
also-notify {notify-servers;};
I think that will work, but I'm not sure if ACLs can only be used in
certain parts of the config. Test it to be sure, but it's the same
type of thing I do with my allowed zone transfers and allowed
recursion on my servers.
Vinny Abello
Network Engineer
Server Management
vinny at tellurian.com
(973)300-9211 x 125
(973)940-6125 (Direct)
PGP Key Fingerprint: 3BC5 9A48 FC78 03D3 82E0 E935 5325 FBCB 0100 977A
Tellurian Networks - The Ultimate Internet Connection
http://www.tellurian.com (888)TELLURIAN
"Courage is resistance to fear, mastery of fear - not absence of
fear" -- Mark Twain
More information about the bind-users
mailing list