Add check command for check_dhcp.

Refs #6225