'hostname' in /etc/rc.conf

Running FreeBSD on the laptop with wifi. Not a server. Should I leave the hostname="" blank or just comment out this line?
 
I'd put something in there, even if it's only 'laptop.domain.local' or something.
 
I'd suggest not using .local as a TLD (top level domain). It might interfere with bonjour/zeroconf/avahi. I myself use .home as a TLD.
 
I have never been a fan of adding a domain name to the hostname in rc.conf. hostname="myhostname" works fine.
 
I have never been a fan of adding a domain name to the hostname in rc.conf. hostname="myhostname" works fine.
I was searching for something else and got a hit on this open thread. To tie it up, the handbook for bsdinstall instructs the hostname to be an FQDN.

If the FQDN actually resolves or not is a completely different discussion. :D
 
Back
Top