Thank you for this. I have had nothing but rooted phones with Adaway for the longest time. And this new Galaxy phone has had me jump a couple times to full screen loud ads out of nowhere in some apps. The "private dns" trick works just like adaway. I even tried clicking on a google ad top of the page search result and it was blocked.Another option: use dns.adguard.com in the Android "Private dns" setting. No root needed and a great set-and-forget option!
I have been using it for the last year on all my Android phones and tablets and it works great so far. It blocks most ads with very few issues.
I also use adguard dns servers in the home router dhcp settings for all devices at the home network: