runtime = entry['runtime']
if not isinstance(runtime, list):
runtime = [runtime]
- for k,v in enumerate(runtime):
- runtime[k] = '``' + runtime[k] + '``'
+ li = []
+ for v in runtime:
if v == 'reload-yaml':
continue
- file.write(f"- Runtime modifiable using ``rec_control`` {', '.join(f'{w}' for w in runtime)}\n\n")
+ li.append('``' + v + '``')
+ file.write(f"- Runtime modifiable using ``rec_control`` {', '.join(f'{w}' for w in li)}\n\n")
file.write(entry['doc'].strip())
file.write('\n\n')
runtime = entry['runtime']
if not isinstance(runtime, list):
runtime = [runtime]
- for k,v in enumerate(runtime):
- runtime[k] = '``' + runtime[k] + '``'
+ li = []
+ for v in runtime:
+ vv = '``' + v + '``'
if v == 'reload-yaml':
- runtime[k] = 'since 5.2.0: ' + runtime[k]
- file.write(f"- Runtime modifiable using ``rec_control`` {', '.join(f'{w}' for w in runtime)}\n\n")
+ vv = 'since 5.2.0: ' + vv
+ li.append(vv)
+ file.write(f"- Runtime modifiable using ``rec_control`` {', '.join(f'{w}' for w in li)}\n\n")
if 'doc-new' in entry:
file.write(fixxrefs(entries, entry['doc-new'].strip()))
else:
'help' : 'If we should never cache IPv4 ECS responses',
'doc' : '''
When set, never cache replies carrying EDNS IPv4 Client Subnet scope in the record cache.
-In this case the decision made by ```ecs-ipv4-cache-bits`` and ``ecs-cache-limit-ttl`` is no longer relevant.
+In this case the decision made by ``ecs-ipv4-cache-bits`` and ``ecs-cache-limit-ttl`` is no longer relevant.
''',
'versionadded': '4.5.0'
},
'help' : 'If we should never cache IPv6 ECS responses',
'doc' : '''
When set, never cache replies carrying EDNS IPv6 Client Subnet scope in the record cache.
-In this case the decision made by ```ecs-ipv6-cache-bits`` and ``ecs-cache-limit-ttl`` is no longer relevant.
+In this case the decision made by ``ecs-ipv6-cache-bits`` and ``ecs-cache-limit-ttl`` is no longer relevant.
''',
'versionadded': '4.5.0'
},
''',
'skip-old' : 'Equivalent Lua config in :doc:`lua-config/dnssec`',
'versionadded': '5.1.0',
- 'runtime': ['add-nta', 'clear-nta'],
+ 'runtime': ['add-nta', 'clear-nta', 'reload-lua-config', 'reload-yaml'],
},
{
'name' : 'trustanchorfile',
''',
'skip-old' : 'Equivalent Lua config in :doc:`lua-config/dnssec`',
'versionadded': '5.1.0',
+ 'runtime': ['reload-lua-config', 'reload-yaml'],
},
{
'name' : 'trustanchorfile_interval',