linuxmuster / linuxmuster-base7

Mangement scripts for linuxmuster.net V7
GNU General Public License v3.0
13 stars 8 forks source link

dhcpd-update-samba-dns.py increases server load #134

Closed HappyBasher closed 2 years ago

HappyBasher commented 2 years ago

dhcpd-update-samba-dns.py is invoked every time a client requests an ip address. It looks in the ad if the host is a dynamic ip client. To decrease the number of ad lookups and the server load it is possible to configure the dhcp server (in /etc/dhcp/events.conf) to invoke the script only if the host is not defined with a static ip address.