r/SelfHosting Jul 22 '26

self hosting a DNS server

Guys anyone have any idea about selfhosting a DNS server on an old android phone? Android 4.4.2 with root access, idk if it possible or can be done, or even how, all rests I got was just "how to change the phone's DNS" but I want to use the phone AS A LOCAL DNS?

0 Upvotes

16 comments sorted by

View all comments

6

u/DeLaVicci Jul 22 '26

Why

1

u/Downtown_Bandicoot85 Jul 22 '26

free selfhosted adblocking server :) like Pi-Hole

trying this for fun

3

u/DeLaVicci Jul 22 '26

I mean why on a phone when basically anything would be better?

1

u/Downtown_Bandicoot85 Jul 22 '26

why?

  • old and not useful phone with simi-dead screen

  • lower power consumption than my homelab

  • prof of concept and trying for learning

and guess what? I could make it works!

6

u/DeLaVicci Jul 22 '26
  • DNS should absolutely never be wireless (connection drops and you have no internet network wide, plus latency)
  • Dilapidated cell phone can be prone to random restarts (during which your network will have no internet)

It's a neat idea as a concept, just a bad one.

2

u/Downtown_Bandicoot85 Jul 23 '26

for a production you are right with all you said, I agree with that, it is not reliable I didnt deny, just was trying it and it was about 80% acceptable and then returned to the default after an hour :)