AutoAssignDomain setting added and implemented.