Windows 2012 Server, DNS resolve host for client

Posted on

Windows 2012 Server, DNS resolve host for client – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about windows, windows-server-2012, hosts, local, resolve.

I’ve been looking for way to resolve host name for client on Windows Server 2012, just like if I added it to hosts file of the client workstations running Windows 7/8.

In hosts file I would add following entries as example:

192.168.12.145    linux.example.com
192.168.12.145    site.example.com
192.168.12.145    services.example.com

So client computers could connect to the address with the URL instead of IP, the machine on the other end of the address is server with Debian installed on it, running other services in which I would like to connect to with local connection.

Solution :

Why don’t you just install a DNS server or use an existing one in your environment?

You can put the host entries into %SystemRoot%System32driversetchosts, for example C:WindowsSystem32driversetchosts. This file serves the same purpose and has the same format as /etc/hosts in Linux, so it will allow network clients on that host to resolve those hostnames to their IP addresses.

Leave a Reply

Your email address will not be published.