Revision dc104520
Added by Viktor Gurov over 5 years ago
src/etc/inc/unbound.inc | ||
---|---|---|
175 | 175 |
$module_config .= 'python '; |
176 | 176 |
} |
177 | 177 |
|
178 |
// Setup DNS64 support |
|
179 |
if (isset($unboundcfg['dns64'])) { |
|
180 |
$module_config .= 'dns64 '; |
|
181 |
$dns64_conf = 'dns64-prefix: '; |
|
182 |
if (is_subnetv6($unboundcfg['dns64prefix'] . '/' . $unboundcfg['dns64netbits'])) { |
|
183 |
$dns64_conf .= $unboundcfg['dns64prefix'] . '/' . $unboundcfg['dns64netbits']; |
|
184 |
} else { |
|
185 |
$dns64_conf .= '64:ff9b::/96'; |
|
186 |
} |
|
187 |
} |
|
188 |
|
|
178 | 189 |
// Setup DNSSEC support |
179 | 190 |
if (isset($unboundcfg['dnssec'])) { |
180 | 191 |
$module_config .= 'validator '; |
... | ... | |
487 | 498 |
# DNS Rebinding |
488 | 499 |
{$private_addr} |
489 | 500 |
{$private_domains} |
501 |
{$dns64_conf} |
|
490 | 502 |
|
491 | 503 |
# Access lists |
492 | 504 |
include: {$g['unbound_chroot_path']}{$cfgsubdir}/access_lists.conf |
Also available in: Unified diff
DNS64 support. Issue #10274