The NIS domain name is completely independent from the
host fully qualified domain name (DNS), as entered in the
basic host information
screen.
Your network administrator (the one who has set up the NIS server) will tell you this name. In many organization this is the same name as the DNS name, even if it is unrelated.