/bin/nisdomainname is in hostname 3.15ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /bin/hostname
/bin/hostname