Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:services:dns:dot_dnsmasq_stubby [2024/04/09 20:52] – Disable local use of Stubby to prevent race conditions on startup. jbrossarddocs:guide-user:services:dns:dot_dnsmasq_stubby [2024/04/15 19:55] – [Command-line instructions] Add user guide reference. jbrossard
Line 22: Line 22:
 service dnsmasq stop service dnsmasq stop
 uci set dhcp.@dnsmasq[0].noresolv="1" uci set dhcp.@dnsmasq[0].noresolv="1"
-uci set dhcp.@dnsmasq[0].localuse="0" 
 uci -q delete dhcp.@dnsmasq[0].server uci -q delete dhcp.@dnsmasq[0].server
 uci -q get stubby.global.listen_address \ uci -q get stubby.global.listen_address \
Line 29: Line 28:
 do uci add_list dhcp.@dnsmasq[0].server="${STUBBY_SERV}" do uci add_list dhcp.@dnsmasq[0].server="${STUBBY_SERV}"
 done done
 +
 +# Disable local use of dnsmasq/stubby. It is not possible for Stubby
 +# to be UP during boot or just right after boot because of the race
 +# condition with SYSNTPd service.
 +# [[:docs:guide-user:base-system:dhcp_configuration#race_conditions_with_sysntpd]]
 +uci set dhcp.@dnsmasq[0].localuse="0"
 +
 uci commit dhcp uci commit dhcp
 service dnsmasq start service dnsmasq start
  • Last modified: 2024/06/13 19:04
  • by dnominated