Using DoH on mobile phones is not an easy task. There are not many applications nor settings on the major operating systems for mobile devices that support DoH to resolve domain names. Firefox provides an easy solution in order to use DoH on your phone with your browser. In this article, we provide steps to do that with the help of Firefox and LibreDNS.
network.trr.uriand change the value of the preference to the URL of LibreDNS DoH endpoint: https://doh.libredns.gr/dns-query.
network.trr.modeand use 2 as value if you want to use LibreDNS as the default DoH provider and use your prexisting DNS provider as a fallback. Use 3 as a value if you want to use only LibreDNS without any fallback, for more options visit: https://wiki.mozilla.org/Trusted_Recursive_Resolver.
network.trr.modeyou also need to add the following preference in
about:config: Search for
network.trr.bootstrapAddressin the address bar and change the value to
188.8.131.52which is the IP address of LibreDNS.