Fixes: #2583 Array to string conversion error when saving DNS