Skip to content

Commit 200f508

Browse files
committed
default priority record for MX and SRV type
1 parent 862012b commit 200f508

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/v-add-dns-domain-record

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dvalue=$(echo "$dvalue" | tr '[:upper:]' '[:lower:]')
2525
priority=$6
2626
id=$7
2727
restart=$8
28+
if [ -z "$priority" ]; then
29+
priority=10
30+
fi
2831

2932
# Includes
3033
source $VESTA/conf/vesta.conf

0 commit comments

Comments
 (0)