Alt-O > Connect > Local Info. Make sure you have Local Host checked and Server marked with the radio button.

Other than that, it's up to your ISP to provide the DNS rather than the IP.

Why not have the ops/bots just auto-op you based on IP and DNS?