|
@ -247,7 +247,7 @@ static_srvhost_add() { |
|
|
config_get weight "$cfg" "weight" |
|
|
config_get weight "$cfg" "weight" |
|
|
[ -n "$weight" ] || return 0 |
|
|
[ -n "$weight" ] || return 0 |
|
|
|
|
|
|
|
|
update "$srv.$domain." IN SRV "$priority" "$weight" "$port" "$target" |
|
|
|
|
|
|
|
|
update "$srv.$domain." IN SRV "$priority" "$weight" "$port" "$target.$domain" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static_srvhosts() { |
|
|
static_srvhosts() { |
|
|