Fixed #18119 -- Added a DomainNameValidator validator.

https://code.djangoproject.com/ticket/18119
Fixed. Good catch, thanks.