I have a box running FreeBSD 3.2. It's plugged into the MSU network. The
DNS name for the machine is different from it's hostname I specified in
rc.conf. Is this a 'bad thing'?
I seems like this is a 'bad thing' because Samba won't run due to a
"get_hostbyname" failure:
=============
#./testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Get_Hostbyname: Unknown host obi-wan.msu.montana.edu
Failed to get my hostname.
=============
I've done something ugly with my /etc/hosts to fix that for now. I just
added an entry for my IP address with the hostname I want to use, not the
DNS name. That seems to work.
Is there a more elegant fix, other than changing the DNS name?
Best,
Tyson