Subtitle: Configure the DNS

Version and revision: V1.0 / R 0.0.

For Nethserver 6.6 and above.

Accessible to: Novice / Beginner

Date of presentation: Released on 2016-03-19

NethServer can be configured as DNS (Domain Name System) server inside the network. A DNS server is responsible for the resolution of domain names (eg. to their corresponding numeric addresses (eg. and vice versa.

The server performs DNS name resolution requests on behalf of local clients, and it is accessible only from the LAN network (green) and the guest’s network (blue).

During a name lookup the server will:

  • search for the name between hosts configured locally
  • perform a query on external dns: requests are stored in cache to speed up subsequent queries

If NethServer is also the DHCP server on the network, all the machines will be configured to use the server itself for name resolution.


You must specify at least one external DNS inside the DNS server page.

The Hosts page allows you to map host names to IP addresses, whether they are local or remote.

For example, if you have an internal web server, you can associate the name with the IP of the web server. Then all clients can reach the website by typing the chosen name.

Locally configured names always take precedence over DNS records from external servers. In fact, if the provider inserts with an IP address corresponding to the official web server, but inside NethServer the IP of is configured with another address, hosts inside the LAN will not be able to see the site.

An alias is an alternative name used to reach the local server. For example, if the server is called, you can create a DNS alias The server will then be accessible from clients on the LAN even using the name you just defined.

Aliases are only valid for the internal LAN. If you want the server is reachable from the outside with the same name you need to ask the provider to associate the public address of the server to the desired name.

  • howto/how_to_setup_the_dns_service.txt
  • Last modified: 2016/08/04 09:08
  • by Marc