Commit 6135422
committed
Fix issue when DNS zone import fails silently with OK message if $TTL is missing from the input file because TTL can not be null when saving SOA to database.
Solution: if TTL is null then simply set it to 1 day - 86400 seconds (as per RFC 1912 recommendations).
I encountered few services that export a dns zone without global ttl set (ex: GoDaddy).1 parent 09e83be commit 6135422
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
| 614 | + | |
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| |||
0 commit comments