dhcp.c(4228): non-null pointer – Error

Error dhcp.c(4228): non-null pointer

DHCP Error:

[ dhcp.c(4228): non-null pointer ] error in my message log
This error is due to improper reverse dns configuration.

I checked nslookup for my dhcp server ip address. Reverse DNS was not configure

[root@dhcpsrv01 etc]# nslookup

** server can’t find NXDOMAIN

Then I add the reverse DNS entry for my dhcp server and rechecked nslookup

 [Administrator@teqbdc01 etc]# nslookup
Server:         ns0.example.com
Address:        ns0.example.com#53  name = dhcpsrv01.domain.com.

Now I checked the message log and I found that error message was stopped printing.

Sample Files

edit /etc/reslove.conf
nameserver ns0.example.com   #primary dns server


Edit  /etc/hosts               localhost.localdomain localhost           dhcpsrv01.domain.com      dhcpsrv01

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.