Update DNS.php

add dateFormate($date, $format = 'd-m-Y') function