# Connect domain properly to DNS

**URL:** <https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017>\
**Category:** Help! (Home for newbies)\
**Created:** [September 18, 2026, 5:25am UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017 "2026-09-18T05:25:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [September 18, 2026, 5:25am UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/1 "2026-09-18T05:25:54Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | AlmaLinux 10.2 |
| Virtualmin version | 8.2 |

I have changed providers and for testing moved one of my domains to the new providers. In Virtualmin, a dns record has already been created for this domain (let’s say `mydomain.org`). At the provider’s Control panel, I can enter DNS records or create a DNS set. I would like to use the latter option and point to the DNS which was created by Virtualmin. I can enter a name and an IP address. I understand that I need to enter two with different IP addresses. However, I have only one IP address. How do I go about it?

I would try (but better safe than sorry) 🙂

```auto
ns1.mydomain.org 123.45.67.89
ns2.mydomain.org 123.45.67.89

```

However, that’s the same IP address. Would that be ok?

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [September 18, 2026, 6:19am UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/2 "2026-09-18T06:19:14Z")

</div>

Alot of people don’t like it as its really not a secondary nameserver but it will work fine.

---

<div class="post-metadata">

**Author:** ![shoulders](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/shoulders/32/10086_2.png) [@shoulders](https://forum.virtualmin.com/u/shoulders)\
**Post date:** [September 18, 2026, 7:19am UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/3 "2026-09-18T07:19:47Z")

</div>

Some DNS providers insist on 2 nameservers, but if you only have 1 IP, then this is used as a workaround.

A lot of cPanel setups I have used have been like this.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 18, 2026, 9:09pm UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/4 "2026-09-18T21:09:22Z")

</div>

If you don’t have a secondary, I recommend you just use your registrar’s DNS servers (or Cloudflare DNS or Amazon Route 53 or Google DNS or any of the others). It is less convenient in some cases, but just having one DNS server is worse.

Virtualmin can directly manage records in a few cloud DNS providers, but only Route 53 is available in the GPL version, I think; Cloudflare and Google DNS and maybe some others are in Pro. That gives you the convenience of having Virtualmin directly manage DNS, and the reliability of having multiple DNS servers.

Some registrars will refuse to accept a configuration with only one DNS server, but most will allow it. So, you almost certainly _can_ do what you want, but I still don’t recommend it.

---

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [September 19, 2026, 10:47am UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/5 "2026-09-19T10:47:22Z")

</div>

Thank you, Joe and shoulders. I think I follow Joe’s recommendation, it makes sense. But I will choose a DNS server with which Virtualmin can communicate, it’s easier to maintain, I guess. The provider’s DNSs are ok, but I would have to add all individual entries manually.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 19, 2026, 3:05pm UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/6 "2026-09-19T15:05:42Z")

</div>

> [@DrMartinus](#):
>
> The provider’s DNSs are ok, but I would have to add all individual entries manually.

Note that Virtualmin will give you a page of suggested DNS records if you disable the DNS feature; so, it’s somewhat less tedious to do the manual process.

But, yes, allowing Virtualmin to manage records directly is the easiest/fastest and least error-prone.

---

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [October 11, 2026, 1:18pm UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/7 "2026-10-11T13:18:03Z")

</div>

Just to let you know: I’ve chosen Cloudflare, and the setup is really easy. Problems arose only from my VPS provider, but that has nothing to do with Virtualmin or Cloudflare. Somehow their scripts for DNS entries seem to be buggy (no updates once I have chosen the external DNS).

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [October 19, 2026, 1:18pm UTC](https://forum.virtualmin.com/t/connect-domain-properly-to-dns/138017/8 "2026-10-19T13:18:15Z")

</div>

Closed on October 19, 2026, 1:18pm UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
