REDDIT 原始帖子

self hosting a DNS server on old android phone

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…

原帖正文r/selfhosted

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?

已收录讨论

13 条评论

u/asimovs-auditor

Expand the replies to this comment to learn how AI was used in this post/project.

u/Downtown_Bandicoot85OP

I guess trying will prof how is it will be useful or not, but at least a new usage for this old phone also better than getting a pi device, it is extremely expensive in m country, maybe more expensive than my existing homelab

u/dbtowo

It would be good learning experience and good use on hardware. Install termux and maybe remove the battery later with mods and it would be a decent setup. With the ram being monopolized pi been out of stock every where.

u/Downtown_Bandicoot85OP

selling it wont give me more than 1 or 2 USD XD but okay I would take a look for it

u/SaltDeception

I’ll give you $5

u/Downtown_Bandicoot85OP

I use adguard private dns aleardy on my android phone

u/Downtown_Bandicoot85OP

yeah it is not reliable and wont be, just I am trying this for fun

u/rinaldo23

For fun, sure! I would try to get a SSH server on the rooted Android first to work more comfortably from your computer connected to it

u/dbtowo

Yea it can be possible. I don’t think it would be good on WiFi or the battery since you awalys going have it plugged in.

u/rursache

just use the public adguard dns, the custom private one, nextdns or controld

u/rinaldo23

DNS can easily become a single point of failure in a network, I wouldn't use such an unreliable host for it

u/BourbonXenon

If you're gonna go through with this, get an OTG adapter with Ethernet and remove your phone's battery

u/blow-down

You probably could do it but you shouldn't because of reliability concerns and how important DNS is to networking. You're better off just using something like NextDNS and selling the phone.