enable dns over https firefox mobile

Goto  url  about:config

filter with: network.trr.* and set the following values:

network.trr.mode value 3  

network.trr.bootstrapAddress and set value as one ip from this page ( currently 104.16.249.249)

now open a new tab to this page used to verify if everything is working. You should have all green except sni. To make all green you should

switch tab and go back to config page

change filter with: network.security.* and set:

network.security.esni.enabled value true

go back to previous tab and refresh. You should have all green.