Log in to the portal with your DB number and password.
Once you are logged in, click on DNS templates in the lower left corner of the menu.
Here you see your existing templates, or create a new one by clicking the blue create button in the upper right corner.
I create the template tuxistest and then click create.
Enter the DNS records you want to use in your template here. You can also set the template as default.
Click save and you're done!
You can use this template now when you transfer or register names.