|
27 |
if configRegistry.is_true('dns/ipv6', True): |
27 |
if configRegistry.is_true('dns/ipv6', True): |
28 |
val = 'any' |
28 |
val = 'any' |
29 |
print('\tlisten-on-v6 { %s; };' % val) |
29 |
print('\tlisten-on-v6 { %s; };' % val) |
|
|
30 |
if configRegistry.get('dns/empty/zones'): |
31 |
dns_empty_zones = configRegistry.is_true('dns/empty/zones', True) and 'yes' or 'no') |
32 |
print('\tempty-zones-enable %s;' % dns_empty_zones) |
30 |
@!@}; |
33 |
@!@}; |
31 |
logging { |
34 |
logging { |
32 |
category lame-servers { null; }; |
35 |
category lame-servers { null; }; |