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?

  • yolomoonie@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    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.