Question

How to make nameserver from reverse proxy IP?

I have a query.

I got a domain named abc.com and i want to set nameserver as ns1.abc.com and ns2.abc.com.

I know how to do it by creating child nameserver.

But the problem is, i have a server example 111.111.111.111 where i have cpanel hosted.

and i have another server i.e. 222.222.222.222 which i want to use as reverse proxy, so my main domain shows only 222.222.222.222 ip as main ip which in the backend, forward all traffic to 111.111.111.111.

My main objective here is to hide my main ip i.e. 111.111.111.111 and create a name server with my reverse proxy ip so i can use it in multiple domain, can it be done?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Reverse proxies act as middlemen between the online server and internet. When browsers make a request, the DNS routes request to the reverse proxy server. You can use multiple reverse proxies to balance the load on web servers.For more, you can visit here: https://residentialips.io/blog/category/residentialips-blog/

Thanks for sharing this use full tips with us. Reserve proxies ease the burden on online servers by providing both dynamic and static content. For more information you can visit our blog page: [https://microleaves.com/blog/how-does-a-reverse-backconnect-rotating-proxy-work/]

Hi @sonuyos

That would defeat the purpose of having multiple name servers, since everything would be proxied through server2, so if that went down, then nothing would work. And you shouldn’t look at name servers as parent-child, but more as master-master, since they should be able to run by themselves with or without any of the others.

If you’re just looking for branded look, then you could use DigitalOcean’s name servers instead of setting up your own servers: https://www.digitalocean.com/community/tutorials/how-to-create-vanity-or-branded-nameservers-with-digitalocean-cloud-servers