0

We are looking to get a new VPS.

The VPS comes with 1 IPv4 as standard. We have always previously used metal box servers containing BIND nameserver / DNS functionality within. These have had 2 distinct IPs (sometimes regrettably on the same subnet mask) .

I have searched the internet and it is overall very ambiguous and far too general for giving me useful pointers. However, this Question is close to what I'm asking: How to setup my own nameservers with a shared DNS service on my VPS

However, that is from 2012 and also doesn't fully answer my query;

I believe from using DNS on metal boxes that I need two distinct IPs for the nameserver ns1.server.com and ns2.server.com and I can't see any clear indicator if this remains true for VPS servers.

  • Is my belief correct, eg we need to have two distinct IPs for best practise for the same VPS machine ?

Bonus:

  • Is there any benefit in having the second/additional nameserver IP as an IPv6 rather than as an IPv4 [in UK]?
2
  • 3
    If you are asking if two different name server records should be two IP addresses, yes. They should also be separate hosts. If you only have one name server, there is zero reason to have two records, unless you are attempting to register a name or with a provider, and they require two name servers. In that case, it is only to satisfy a procedural requirement and not a technical or business issue. Commented Mar 4 at 16:42
  • 2
    If you simply need a slave NS, many registrars provide this service for free with the registration. Hosting both on the same machine (or even network) is as @GregAskew says no point. Norid, .no registrar, for a long time required two different networks for the NS servers. Commented Mar 4 at 17:02

1 Answer 1

1

You should have two nameservers so that if one crashes or you need to restart it, the other one keeps on serving names.

There's no point to putting the same server twice. It won't make it more protected from crashes or restarts. If you're going to have only one nameserver, then have only one nameserver.

1
  • Thank you that was the clarification I was needing. Also I have now learnt about StackExchange breaking the law. Thanks. Commented Mar 5 at 12:19

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.