To setup a Minecraft server, you almost always need two DNS records: an A record and a SRV record. To add these DNS records, follow these steps:

How to set up DNS records for Minecraft

  1. Log in to your Name.com account.
  2. Click on the MY DOMAINS link, located on the top right of the navigation.
  3. Click the domain name you would like to manage.
  4. Click Manage DNS Records, in the DNS column.
  5. For the A Record, leave the drop-down menu under Type as A, in the Host type in in your subdomain (i,e mc), and copy and paste your IP address into the answer field. Then click the blue Add Record button.
    2021-01-05_15-55-48.png
  6. For the SRV Record, select SRV in the drop-down menu under Type. The enter the following for the fields:
    2021-01-05_15-57-03.png
    SERVICE: minecraft
    PROTOCOL: tcp.subdomain (i.e tcp.mc)
    WEIGHT: 5
    PORT: your server port (default is 25565)
    TARGET: subdomain.domain.com (i.e mc.sunk500.com)
    TTL: 300
    PRIO: 0

    Click ADD RECORD and it should look like the illustration below:
    2021-01-05_16-02-55.png
    That's it! It should work once propagation is complete (most likely within the hour, 24 hours at the very longest).