The other easy option is to login to the bot. Set a script to send the bot login information when you join and have it op you that way.
It's very hard to always get just your DNS every time you connect... at least in my experience. I would guess that I connect about 95% of the time with DNS and 5% with IP using the same settings.