ClearOS Documentation

×

Warning

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

User Tools

Site Tools


Disabling DHCP and DNS in ClearOS

This guide covers disabling DHCP and DNS in ClearOS as services. Some installations of ClearOS may be implemented into environments with existing services for DHCP or DNS. In these environments, there may be conflicts or security reasons for removing these as running services from ClearOS.

Shutting Down DNSMASQ

ClearOS' DHCP and DNS Caching services are provided by default by the dnsmasq service. The following commands from a command prompt will stop and disable the service:

chkconfig --level 2345 dnsmasq off
service dnsmasq stop

If you ever want to revert this change, perform the following:

chkconfig --level 345 dnsmasq on
service dnsmasq start

I want to keep DNS Caching but NOT DHCP

Since this service is integrated, you cannot turn off DHCP without disrupting DNS services. However, you can unconfigure all settings and scopes available. To do this, log into Webconfig and navigate to the DHCP server in the Network section. Perform the following:

  • Click the edit button on the Settings section and change Authoritative to Disabled
  • In the Subnets section, hit the Delete button on all entries. There should ONLY be Configure buttons on all entries.
content/en_us/kb_o_disabling_dhcp_and_dns_in_clearos.txt · Last modified: 2014/12/23 14:19 (external edit)

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