Allow hostname

I’m guessing you can’t do ‘allow hostname’ since I get an error when I
try
it so is there any way to get the ip address from a host name and store
it
in a variable then do ‘allow variable’?

If not is it possible to allow a dynamic dns somehow? We need this for
a
few roaming clients who’s ip addresses change.

Thanks!