bind-option: support force aaaa soa bind option, secondary DNS support Force-AAAA-SOA options

This commit is contained in:
Nick Peng
2020-02-16 13:01:45 +08:00
parent 3cf2d35c13
commit 5f9167cf07
9 changed files with 49 additions and 18 deletions

View File

@@ -242,6 +242,9 @@ load_second_server()
config_get_bool seconddns_no_cache "$section" "seconddns_no_cache" "0"
[ "$seconddns_no_cache" = "1" ] && ARGS="$ARGS -no-cache"
config_get_bool force_aaaa_soa "$section" "force_aaaa_soa" "0"
[ "$force_aaaa_soa" = "1" ] && ARGS="$ARGS -force-aaaa-soa"
config_get ipv6_server "$section" "ipv6_server" "1"
if [ "$ipv6_server" = "1" ]; then
ADDR="[::]"