Fixed typo in minidnsserver; added exception handling