this post was submitted on 27 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

511 readers
1 users here now

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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I have always used external DNS services because it is easy and reliable. Would like to learn more about DNS by trying to use my own.

I have selfhosted some apps on linux VPS and some more people have accounts to use the apps so it's not only internal. In domain registrar I have set name server to DNS service provided by VPS service. And in VPS console I have set the DNS records such as A record.

Not sure what I need to do and get started. Install authoritative name server (any recommendation?) on the VPS and set up same DNS records I set up with the VPS service? And change the name server with registrar to be my own VPS IP address? Seem too simple so could be I am missing some things.

Any problem with running name server on the same VPS as the apps?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

I don't see the point to use it's own dns server for a single VPS. It is recommended to run at least two authoritative dns server for a a zone and it seems really strange to use a dns server which just references it's own IP address.

If you just want to learn how to configure dns records I would recommend something like https://desec.io/ . They provide the dns server infrastructure and you can configure the zones as you desire.

[โ€“] [email protected] 1 points 1 year ago

+1 for deSEC, they are great. Not only do they offer free DNS management but also free "DDNS" subdomains like `example.dedyn.io". One account can manage up to 15 domains in total which should be plenty for most private users, but even if you reach that limit you can contact them and ask nicely for them to increase your allowance. (no promises)