Fix missing arguments in create domain record function