I am looking to setup a public DNS server and I found this DNS server

https://technitium.com/dns/

Does anyone know what the risks are of exposing the DNS port to the internet? How likely am I to get compromised? Is this a really bad idea?

Or use encrypted dns 😕 it’s 2024, time to use encryption

@AtariDump@lemmy.world
link
fedilink
English
210M

That wouldn’t help with an open resolver.

@Gooey0210@sh.itjust.works
link
fedilink
English
-2
edit-2
10M

Use encryption, using vpns for such a trivial task is a “really bad idea”

There are many cases when somebody wants to have their dns public, maybe they want to share with their friends, family, community, audience (not everyone is a solo server user)

Also, it’s good to use your dns even before connecting to the vpn. Just use encryption, it’s safe and nice

Keeping 53 opened is not that bad, the only thing you will notice is an increased load on your server if somebody tried to ddos somebody’s server using your dns

P.S. Or as somebody mentioned below, use rate limiting. It’s described pretty well in some other comments. Not just “spooky internet port”

@atzanteol@sh.itjust.works
link
fedilink
English
1
edit-2
10M

Use a public dns provider. Cloudflare, route53, dyndns (are they still around?), etc. Cheap, reliable, no worries about joining a ddos by accident. Some services are better left to experts until you really know what you’re doing.

And if you do really know what you’re doing you’ll use a dns provider rather than host your own.

Cloudflare is not private… not sure if dyndns has even worse reputation than cloudflare

Some services are better left to experts until you really know what you’re doing.

DNS, for experts? 😂

You host your own dns, and don’t work with glowing services, this is the private way

Host your own private DNS - yes, knock yourself out. I highly recommend it.

Public DNS? No - don’t do that.

There are two services homegamers should be extra cautious of and should likely leave alone - DNS and email. These protocols are rife with historic issues that affect everybody, not just the hosting system. A poorly configured DNS server can participate in a DDOS attack without being “hacked” specifically. A poorly configured mail server can be responsible for sending millions of spam emails.

For a homegamer you probably only need a single public DNS record anyway (with multiple CNAME if you want to do host based routing on a load balancer). You take on a lot of risk with almost zero benefit.

You don’t knock yourself out, it doesn’t look like you ever even tried it

See you when you start selfhosting stuff, or at least get interested

Also, knocking yourself out is not privacy, but anonymity 🤭

Uh oh - my “nerd creds” are being questioned by a rando on the internet. 🤣

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 215 users / day
  • 438 users / week
  • 1.15K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.71K Posts
  • 74.7K Comments
  • Modlog