mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
fixed next year calculation for dns domain
This commit is contained in:
parent
973334d109
commit
b48f7399fd
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ domain=$(idn -t --quiet -u "$2" )
|
|||
domain_idn=$(idn -t --quiet -a "$domain")
|
||||
ip=$3
|
||||
template=${4-default}
|
||||
next_year=$(date +F -d "+ 1 year")
|
||||
next_year=$(date +%F -d "+ 1 year")
|
||||
exp=${5-$next_year}
|
||||
soa=$6
|
||||
ttl=${7-14400}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue