Dns records now raise an error to the form if no domain was supplied

When creating a cydns record without a domain, an error is now posted back to the form rather than posting a 500 error.