UFW block by hostname

Been searching for a while now, but I still can’t find a simple answer to my simple problem.

I run an FTP server and for security reasons I want to allow access (port 21) only from

thispartvaries.myoperator.fi and thispartvaries.myoperatormobile.fi

Is there any simple way of doing this with UFW?