Linux:

From a terminal run one of the corresponding commands below, depending on your packages:

 

/etc/init.d/nscd restart
service nscd reload
/etc/init.d/named restart
rndc restart
/etc/init.d/dnsmasq restart
service dnsmasq restart