Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What are hostname and dnsdomainname?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Sat Sep 25, 2004 2:46 am    Post subject: What are hostname and dnsdomainname? Reply with quote

Are they just a server thing, or are they important for home networks to? I'm on a home network using DHCP. (it's working fine, I'm just curious)

Does it matter what they're set to?
Back to top
View user's profile Send private message
Monkeywrench
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: Florida

PostPosted: Sat Sep 25, 2004 4:25 am    Post subject: Reply with quote

They work for home networks too. They aren't necessarily important, but you should still set them. /etc/hostname is what the computer in named, and I treat /etc/dnsdomainname as the name of the (sub)network. For example: my computer is named 'electret' and is on the 'mind.net' network. So, the full name of my computer would be: electret.mind.net. Other computers on my home LAN are also on the 'mind.net' network, just with a different hostname.

So yeah, it's a good idea to set both of them. But no, it doesn't really matter what they are.
_________________
Folding@home -Join the Linux team (163)!
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Sep 25, 2004 7:37 am    Post subject: Reply with quote

It does sort of matter what they are for a home network. If you are connected to the Internet you should use a domain name with a tld no available on the Internet like .local or .home but not .net or .com or anything like that. Unless of course you own the domain name in which case you can do what you like with it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum