cobbler setting dnsmasq

Currently cobbler can help generate a ISC DHCP configuration (package name: dhcpd) it can also alternatively use dnsmasq. DNSmasq is a bit confusing because it does DHCP and DNS at the same time. You can choose to use the DHCP management features with ISC and not use Cobbler to manage DNS at all. That's ok ... using both in conjunction, however, is fairly powerful.

/etc/cobbler/modules.conf needs to look like this to select that we want to use BIND for DNS and ISC dhcpd for DHCP.

[dns]
module = manage_bind

[dhcp]
module = manage_isc


OR, to use dnsmasq:

[dns]
module = manage_dnsmasq

[dhcp]
module = manage_dnsmasq

Don't mix and match the two.

This doesn't turn them on, this just selects your management module choices. To enable DHCP management, go into /etc/cobbler/settings and set the following:

manage_dhcp: 1

转自: https://fedorahosted.org/cobbler/wiki/ManageDhcp

http://cobbler.github.io/manuals/2.6.0/3/4/1_-_Managing_DHCP.html

原文地址:https://www.cnblogs.com/pinganzi/p/5265004.html