Adding entries into the Hosts file

in the console as root:

$ vi /etc/hosts

Or you can

$ echo "192.168.0.1 newhost" >> /etc/hosts

Oh wait, wrong OS ...

Thanks for that.

Basically we have an external domain and I have a few test sites internally that use the external domain name. I don't want to pollute my DNS record with private IP's and would prefer to use AD to add entries into the hosts file.
 
Top
Sign up to the MyBroadband newsletter
X