Milí majitelé routerů Turris,
toto fórum bylo 9. 12. 2016 zmrazeno a nahrazeno naším novým Turris fórem. Ještě chvíli bude dostupné k prohlížení, ale již zde není možné přispívat. Více informací naleznete v oznámení o uzavření fóra.
Dear Turris routers users,
this forum has been frozen on Dec 9th, 2016 and replaced by our new Turris forum. It will be read-only accessible for some time after. For more information, read the announcement about closing the forum.
dnsmasq
for both DNS and DHCP services.dnsmasq
.dnsmasq
only as DHCP service and then Knot
as DNS service (because dnsmasq
is not able to validate DNSSEC).dnsmasq
is disabled by setting Network -> DHCP and DNS -> Advanced Settings -> DNS server port
to 0
.dnsmasq
DNS functionality (on some non standard port, because on standard port 53 is running Knot) and then you have to configure Knot
to ask your dnsmasq
for hostnames from your local domain./etc/init.d/kresd
, before the end of init_header()
function (probably around line 41): echo "policy.add(policy.suffix(policy.FORWARD('127.0.0.1@53535'), policy.todnames({'lan'})))" >>$CONFIGFILE
28 init_header() {
29 echo "--Automatically generated file; DO NOT EDIT" > $CONFIGFILE
30 echo "modules = {" >> $CONFIGFILE
31 config_get_bool prefetch common prefetch 0
32 echo " 'policy'" >> $CONFIGFILE
33 if [ "$prefetch" \!= 0 ]; then
34 echo " , 'stats'" >> $CONFIGFILE
35 echo " , predict = {" >> $CONFIGFILE
36 echo " window = 30 -- 30 minutes sampling window" >> $CONFIGFILE
37 echo " , period = 24*(60/30) -- track last 24 hours" >> $CONFIGFILE
38 echo " }" >> $CONFIGFILE
39 fi
40 echo "}" >> $CONFIGFILE
41 echo "policy.add(policy.suffix(policy.FORWARD('127.0.0.1@53535'), policy.todnames({'lan'})))" >>$CONFIGFILE
/etc/init.d/dnsmasq restart
/etc/init.d/kresd restart
dig +short @127.0.0.1 -p 53535 pc.lan
/etc/init.d/kresd
will be overwritten with next update of Knot (so you will have to perform the step 2 again. Hopefully we will get better/official solution for this in the near future.
Powered by mwForum 2.29.3 © 1999-2013 Markus Wichitill