Hello
I had the same problem.
I found some suggestions to enable systemless hosts on magisks, which makes the error desappear. Everything looks good, adaway updates fine, but after reboot Android seems to ignore hosts file completely.
I still can see adds, even ping on terminal goes to dns...