REDDIT 原始帖子

Affordable router with customizable local DNS records?

I changed ISP, and the new router they installed doesn't have a setting to add custom local DNS records. I had this on my previous ISP router and it was nice and simple. I only need to have a single record for my home server and go about my day. The new…

原帖正文r/selfhosted

I changed ISP, and the new router they installed doesn't have a setting to add custom local DNS records. I had this on my previous ISP router and it was nice and simple. I only need to have a single record for my home server and go about my day. The new router doesn't have it, the spare router I bought last year doesn't have it either, none of the routers I check in Amazon list it, and the manufacturer websites are really vague about it. I'm not talking about DDNS, but just a plain simple box where I can pair a local IP with whatever hostname I type. It's surprising how convoluted this is being. Does anyone know of one with this capability and that is affordable? not looking to overspend on this. Before anyone asks, I tried setting up a simple DNS server but it's been an infuriating headache. I hit all kinds of nonsense (AP roaming issues, IPv6 issues, etc). I don't have a dedicated pocket computer for DNS (which I'd have to maintain as well). I'd rather spend on the router. I'm getting by with manual host file records on my devices (which was a pain to do in phone & tablet).

已收录讨论

25 条评论

u/asimovs-auditor

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

u/Various-Arugula-425OP

They're both TP link. the one from ISP says XC220-G3vv4, and the one I own says AC 1200 V6. I've dug front and backwards but they don't have anything that can help.

u/-Nobert-

iirc all the unifi routers have local DNS

u/Various-Arugula-425OP

The way I had it just worked. I used the custom domain name for all my services, and I didn't have to change a single thing if I left my house. I just turned on twingate where I had set up the same record (alias as they call it). I could switch to plain IP, but I have already set up everything around it.

u/Dolapevich

I meant openwrt: https://openwrt.org/

u/HeftyCrab

Didnt know that they are also shoes, but I love using mine as a router. Came here to recommend it.

u/GeekerJ

They work okay if you strap them up carefully with cat6 patch leads. They’re also cheap 🤣

u/MariusGMG

Same here, very happy with it

u/lesigh

At least post the make and model of your router

u/-Nobert-

What's the goal/reasoning for wanting to make a single local DNS record if you don't mind?

u/micahs72

Instead of searching for routers with this feature, maybe look for routers that support open-source firmware eg: openwrt and the like. Some will have a manufacturer modified version of the open-source firmware and could have this feature out-of-the-box or could be flashed with the community version pretty easily. I'll look for some routers that can do the local DNS and also some that have open-source firmware. There should be something for a reasonable price.

u/bobowhat

GL.Inet. I have the MT-6000, the MT-7000 works well as well.

u/GeekerJ

Mikrotik routers are shoes and powerful - bit of a learning curve though.

u/mikeymop

You could use PiHole for DNS records. That's what I did for a while. As for a cheap router I used openwrt in the past and now my Unifi routers local DNS.

u/GolemancerVekk

Like others have said, either install OpenWRT on your router or look for cheap routers on local marketplace and see which of them support OpenWRT. Another cheap alternative can be to enable mDNS on the machine you want the name for. You don't need router cooperation for this, the target machine broadcasts "i am <name>" directly to the LAN.

u/mordac_the_preventer

Can you turn off dhcp on the ISP-supplied router? If you can, you could run ISC dhcpd on another host. I run dhcpd on my home Linux server, but it could be a raspi, or anything that can be left running - the resource requirements are pretty low. If you run pihole, I think that has dhcpd as an option, which might make it easier to configure (although it’s not complicated).

u/RadialRazer

I believe this is a function of Unifi’s Dream Router 7, but I haven’t tested it myself. I do really love that router though.

u/KadaverSulmus

I'm using a draytek Vigor Router 2927 AX for this. It just does what it needs to do, isn't that expensive and has great capabilities. DNS works great, but it also has in-built VPN including wireguard. It's really a set and forget router. Also the ability to write logs to USB.

u/michaelpaoli

tried setting up a simple DNS server but it's been an infuriating headache. I hit all kinds of nonsense (AP roaming issues, IPv6 issues, etc). I don't have a dedicated pocket computer for DNS (which I'd have to maintain as well). Not that hard. dedicated pocket computer for DNS? What are you talking about? rather spend on the router How 'bout get a router where you can load it with OpenWRT, then you can generally quite control those things, rather than be at the mercy of whatever firmware the router will support and run and dealing with its limitations. Or ... Linux can also very much be a router, so, may want to use a dedicated host for that. Most just need be sure you've got all the interfaces on it that you need, want, then from there, can customize it pretty much any dang way you want. Does your existing router not let you customize what DNS server(s) it hands out with DHCP and such? If so, shouldn't be too hard, just adjust that to ensure that your own DNS server is used, and then put whatever you want there for DNS data.

u/bufandatl

Just run a unbound server as DNS server.

u/Foll0wTheWh1teRabb1t

Mikrotik every day of the week