The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ping hosts from config file za_7565 Shell Programming and Scripting 1 01-29-2008 02:42 PM
Copy a file to multiple hosts sumsriva UNIX for Advanced & Expert Users 5 09-18-2007 12:42 AM
HOSTS File cymerman UNIX for Dummies Questions & Answers 4 01-19-2007 09:26 AM
Hosts.allow and hosts.deny huddlestonsnk UNIX for Dummies Questions & Answers 1 10-18-2006 08:34 AM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 06:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-22-2003
Registered User
 

Join Date: Feb 2003
Posts: 22
Question dns and hosts file

ok i have a question now when i add machines on network that are running unix do i add them in the /etc/hosts file also include them in dns
Reply With Quote
Forum Sponsor
  #2  
Old 10-22-2003
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
it depends if your unix machine will be a web server, proxy server or mail server it needs to have a DNS entry.

Any other machine only need an hosts file, the hosts file most an entry of the dns servers hostname and ip address.

Overall it make life easy if all unix servers have a DNS entry but only web servers, proxy servers and Mail servers really need a DNS entry.
Reply With Quote
  #3  
Old 10-22-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
if you have a small network (~4 systems) you might as well just add them to your /etc/hosts file. however, if you already have a private DNS server running on your internal network, then yeah add everything in there. that helps to keep consistency in your network and you wont have to worry about one /etc/hosts being outdated.
Reply With Quote
  #4  
Old 10-23-2003
Registered User
 

Join Date: Feb 2003
Posts: 22
Smile

ok thanx guys
Reply With Quote
  #5  
Old 11-11-2003
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
You should also be aware of how your hosts are actually trying to resolve hostnames. Take a look at /etc/nsswitch.conf

Cheers,

Keith

Last edited by kduffin; 11-17-2003 at 07:53 PM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0