AMP AMP
AMP
0
AMP

How to verify dhcpd.conf file for any error

Hi, i want to know how can i check my dhcpd.conf file for any syntax error before i proceed to start dhcpd daemon on my CentOS Machine?

CentOS DHCP Add a comment
a sample image
shanemichel
asked Mar 05 2018

Answer

AMP
0
AMP

There is a command to check dhcpd.conf file for any syntax errors, So you can use the below command to check it

dhcpd -cf /etc/dhcp/dhcpd.conf
Add a comment
a sample image
parthiban
asked Mar 05 2018
edited Oct 05 2018
Post your Answer