as Wayne said it’s not built-in oob but it’s easier to implement, you can even use postscripts which is very powerful - only restriction is your creativity 🙂
https://forums.fogproject.org/topic/4278/utilizing-postscripts-rename-joindomain-drivers-snapins