I’m a a bit confused what to put where in the truenas dyndns client form.
I don’t have access to a FreeNAS server anymore, but I believe you need to add the zone name as Domänenname.
For the username, you can try
none. If that doesn’t work, try the password as username and leave the password fields blank.