Dnsqmasq custom options
-
Ok saw commit
https://github.com/pfsense/pfsense/commit/683992fc993e7f9993772683691ddc909878e5bbUser can't specify or customise some dnsmasq args in custom_options (dns-forward-max, cache-size, etc) because they are hard coded in services_dnsmasq_configure().
So way I understand it I should be able to no put in say local-ttl=86400 vs local-ttl=1 being hard coded.
But I can not seem to get it to work, if I put in local-ttl=86400 in advanced options then dnsmasq does not start.
-
Try this fix:
https://github.com/pfsense/pfsense/commit/41567e0639d1e7541e2dbf249e3e569f017e984e -
Sweet! That fixed it
Before;
–----------
;; QUESTION SECTION:
;pfsense.local.lan. IN A;; ANSWER SECTION:
pfsense.local.lan. 1 IN A 192.168.1.253;; Query time: 2 msec
;; SERVER: 192.168.1.253#53(192.168.1.253)
;; WHEN: Thu May 16 11:30:14 2013
;; MSG SIZE rcvd: 51After new gitsync and putting in - dnsmasq restarts and works
local-ttl=86400
In advanced
;; QUESTION SECTION:
;pfsense.local.lan. IN A;; ANSWER SECTION:
pfsense.local.lan. 86400 IN A 192.168.1.253;; Query time: 2 msec
;; SERVER: 192.168.1.253#53(192.168.1.253)