Howto purge kresd and enable dnsmasq properly?

Hello all,

What is the the ultimate and irrevocable but modern approach to purge kresd from the Turris Omnia? I tried several ways. It always ressurects after a while and bites me again.

May be somebody created the script that will purge it from cron, like it is proposed here [2]? Please share your experience.

I read this [1] and that [2], are they outdated? I did not find answer.

  1. https://forum.turris.cz/t/revert-back-to-dnsmasq
  2. https://forum.turris.cz/t/update-broke-my-router

It’s as simple as editing

/etc/config/resolver
/etc/config/dhcp

and setting whichever one you don’t want to port 0 and the other to port 53.

It’s not that simple.

Yes, it will work. For a while. Where ‘for a while’ means until next update. Then it will break your DNS. You will have to ssh in, manually edit the files again and restart everything. Each update will do it again, and again, and even if you disabled the services kresd and resolver, the updater will enable them again.

AFAIK there is no way to permamently disable kresd and enable DNS in dnsmasq without waking up one day and your internet not working. At least not if you want the dnsmasq to run on Turris and not on some other device.

:frowning: that’s unfortunate.