Question

Help needed to setup DNS records for multiple servers on different droplets

Posted January 18, 2020 221 views
CentOSDigitalOceanNetworkingDNS

I already have one droplet at the digital ocean running OpenLiteSpeed server. Now, I am planning to add multiple servers in different droplets. My current droplet is srv01.domain.com. Nameservers for that droplet is ns1.domain.com and ns2.domain.com.

I am planing to get following setup:

  • Droplet 1: US Datacenter: srv01.domain.com
  • Droplet 2: AMS Datacenter: srv02.domain.com
  • Droplet 3: UK Datacenter: srv03.domain.com

Let’s assume all droplets will run Litespeed Server & CyberPanel.

I would like to know how can I set up my DNS so that my nameservers (ns1.domain.com and ns2.domain.com) will point to all droplets (1,2 & 3) servers.

Thanks a lot in advance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi,

You mean you want to have

ns1.domain.com and ns2.domain.com

to point to all 3 servers at same time ?

  • Hello @qtwrk,

    Yes, exactly. I want to have my ns1.domain.com & ns2.domain.com to point all the servers that I will be having in the future.

    Do you mind to tell me how can I do it?

    Thanks,
    Anuj

    • Hi,

      But what is purpose of that ?

      when you resolve a domain , it will only return you one IP address

      • Hello @qtwrk,

        I want to allow my customers to use ns1.domain.com & ns2.domain.com name server where every I host them (Either at my 1st VPS, 2nd or 3rd)

        If this is not possible do you mind to tell me what could be the best solution?

        Thanks

Submit an Answer