Many (most?) hack attempts, be that a registration attempt, or a Direct SIP call, will make use of your public IP and not your FQDN. They just scan IP addresses sequentially. You can confirm this in the 3CX Activity Log. If you can find a log of a hack, it will also show how they were able to make a call, what extension they used, etc..