Hi there, I have a VPS running cPanel/WHM and I want to move all the sites to an AWS EC2 instance running ISPConfig on Ubuntu 22.04. The existing cPanel/WHM setup has DNS, but it's all on the one server: both name servers use the same IP address as the shared IP of the server. So ns1, ns2 and the shared IP are one and the same. I was wondering if it is technically possible to replicate with ISPConfig? I've looked at the tutorials for setting up DNS with ISPConfig, and they all seem to revolve around setting up a second server for the second nameserver. I would like to avoid this if possible. Also, some of the DNS tutorials I have seen have been quite old, and I worry about how accurate they are given how much ISPConfig has advanced in recent years. I've also seen some with clearly incorrect information in them. Can someone please point me to the best (and most current) tutorial for setting up a DNS server with ISPConfig on Ubuntu 22.04? Thanks in advance.
Using just a single server for ns1 and ns2 mainly depends on your domain registry. If they allow that (which seems to be the case if you could host domains with your old panel), then you can do the same with ISPConfig as well. All you have to do is use the same IP address for ns1 and ns2 on a single DNS server, so you just skip having a secondary DNS. Install ISPConfig like this: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/ as a single server system. And here is the DNS tutorial which explains how to create DNS records: https://www.howtoforge.com/tutorial/setting-up-your-own-name-service-with-ispconfig/
If your domain requires two DNS server with two different IP (one for each), you may use free services like freedns (afraid.org) as you secondary / backup dns server, or in my mind (as never tested), you can try using IPV6 other than its IPV4 for the same server, if that make sense.