Correctly configure nameservers with cPanel [closed]

I just bought a VPS with cPanel/WHM. My hosting provider gave me 3 dedicated IP addresses with my plan. I read on the internet that I should use 2 IPs for my nameservers and the other one as the main IP for all my shared accounts.

Could you tell me why I should do that ? What are the advantages of using IP addresses only for nameservers and another one only for my shared accounts instead of using the same IP for all my nameservers and shared account ? I'm asking because I don't want to use an IP for nothing.

Thank you.


The reason you should use 2 IP addresses for your nameservers is that DNS Best Practices and RFCs dictate this as a requirement.

The point isn't literally "just because you need 2 IP addresses" but the point is for redundancy purposes. So the real requirement (for DNS best practices) is 2 different DNS servers, so that if 1 server fails, your domain name(s) still resolve on the second DNS server.

That said, it is very possible (but again, not recommended) to use two different IP addresses on the same server to respond to DNS queries.

Other than that, there's no real advantage to using the same IP address for multiple services (i.e. you can run Apache, BIND and Postfix, for example, all off the same IP address).