Control Web Panel
		WebPanel => DNS => Topic started by: cfreire on April 09, 2025, 07:41:38 PM
		
			
			- 
				Hi dear group... I would like to set my webpanel server as a DNS server. I have set some domains in my webpanel server, but when I set the public IP of my server, as DNS IP in my windows PC... It does not ping to a my domains in Webpanel server.... Is it necessary any configuration additional to by default to achieve this objective please?
Thanks by your attention....
			 
			
			- 
				I don't recommend trying to self-host DNS. At minimum, you need 2 static IP'd servers on separate subnets in order to be more resilient against DDoS attacks. Personally, I would recommend using Cloudflare for DNS, as they have the infrastructure to resist or mitigate those kinds of attacks. Plus, the geo-located servers are very responsive and replicate changes globally nearly instantly.
			
 
			
			- 
				Hi, thank you by your recommendation. But if I want to use my webpanel server to be my own dns server how can I do it please?
			
 
			
			- 
				
Hi, thank you by your recommendation. But if I want to use my webpanel server to be my own dns server how can I do it please?
Your first requirement is to setup your own nameservers.  Most Registar's call these either GLUE records or HOST records.  You need to log in and create at least 2 records (Ex ns1 and ns2).  
Then change the Nameservers in CWP to use your custom nameservers
I highly recommend a second server somewhere to host the second DNS server.
			 
			
			- 
				If hosted at NameCheap:
https://www.namecheap.com/support/knowledgebase/article.aspx/768/10/how-do-i-register-personal-nameservers-for-my-domain/ (https://www.namecheap.com/support/knowledgebase/article.aspx/768/10/how-do-i-register-personal-nameservers-for-my-domain/)
GoDaddy's is kinda weird, see:
https://starburst.help/f-a-q/hosting-information/dns-settings/registering-nameservers-for-your-godaddy-domain/ (https://starburst.help/f-a-q/hosting-information/dns-settings/registering-nameservers-for-your-godaddy-domain/)