fix apache conf path, add dnscheck function/install