Domain names and host names?

Yes, you can use pass from self to myotherbox.mydomain.com, but -

Your rules will then be valid only after you have name resolution up and running

Possible workaraound: load default rule set, run script from rc.local to check DNS, then load real rule set