![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
ok thanx guys
|
|
#5
|
||||
|
||||
|
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. |
||||
| Google The UNIX and Linux Forums |