Project

General

Profile

Actions

Bug #7382

closed

DNS Forwarder does not resolve DNS names on first boot

Added by Özgür Keleş over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/13/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.3_1
Affected Architecture:
amd64

Description

"DNS Forwarder (dnsmasq)" service is running at first boot but i am get an error : "dhcpleases Could not deliver signal HUP to process because its pidfile (/var/run/dnsmasq.pid) does not exist, No such file or directory." and pfsense can not resolve the DNS names entered in the "Host Overrides" list under "DNS Forwarder". But when the DNS Forwarder (dnsmasq) is restarted everything works fine. So there is a problem at booting time.

I solved the problem adding the following code to services.inc file.


//log_error("dnsmasq command: {$cmd}");
mwexec_bg($cmd);
unset($args);
sleep(2);
system_dhcpleases_configure();

Actions

Also available in: Atom PDF