Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


DNS Deployments with ClearOS

This guide covers best practices of deploying name services within an infrastructure when using ClearOS. It covers single site deployments, deployments with AD, and multi-site deployments of ClearOS. This guide is intended to be used by admins with a good understanding of DNS.

How DNS works on ClearOS

There are two main elements to DNS resolution on ClearOS:

  • Name lookup through NSSwitch for ClearOS itself
  • DNS services with DNSMasq

NOTE: Usage of 3rd party DNS servers like BIND are not addressed by this deployment guide but the concepts presented should be beneficial.

NSSwitch

The behavior of ClearOS for name server lookups is determined by the /etc/nsswitch.conf file. In this file, the default behavior is defined as:

hosts:      files dns

The settings listed here should typically be left alone to whatever mode is configured by Webconfig. The defualt behavior is for hosts to be looked up in files (ie. /etc/hosts) and then queried through the settings in dns (ie. /etc/resolv.conf) if the files does not resolve the DNS.

DNSmasq

ClearOS comes with a caching DNS server called DNSMasq. This service handles both DNS services and DHCP services.

content/en_us/kb_o_dns_deployments_with_clearos.txt · Last modified: 2014/12/23 14:28 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_o_dns_deployments_with_clearos&1710843645