and finally I found out how to make this permanent

:
1. Open Terminal.app
2. cd /etc
3. sudo cp hostconfig hostconfig.old
4. sudo pico hostconfig
5. Change the line "HOSTNAME=-AUTOMATIC-" to "HOSTNAME=yourdns"
6. Save the file (^O) and exit (^X)
7. Open NetInfo Manager.app
8. Click machines
9. Click localhost
10. Make sure that the lock is unlocked - if not, click on it to unlock it
11. Hit -D to duplicate the localhost entry
12. Click on the 'localhost copy' entry
13. Double-click the value for the 'name' field in the lowerbox
14. Type in the same name as your hostconfig file (i.e. youdns)
15. Reboot
I'm sooo glad now
