# Primary nameserver cannot be resolved

**URL:** <https://forum.virtualmin.com/t/primary-nameserver-cannot-be-resolved/59910>\
**Category:** Virtualmin\
**Created:** [February 9, 2019, 8:38pm UTC](https://forum.virtualmin.com/t/primary-nameserver-cannot-be-resolved/59910 "2019-02-09T20:38:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shillongserver](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/shillongserver/32/3126_2.png) [@shillongserver](https://forum.virtualmin.com/u/shillongserver)\
**Post date:** [February 9, 2019, 8:38pm UTC](https://forum.virtualmin.com/t/primary-nameserver-cannot-be-resolved/59910/1 "2019-02-09T20:38:11Z")

</div>

Been using Virtualmin with an Ubuntu 14.04 VPS from a few years now but wanted to give Centos a try so I moved my sites to a new server and reinstalled a new OS (Centos 7 minimal) on my current server. Then I:

1. Downloaded Virtualmin installer file using:

2. Inititated the installer using:

**Problem:**

a. During the installation, I got two errors. One regarding “Disk Quotas” and another regarding “Primary Network Interface” where I input “venet0”.

b. In the **Post-Installation Wizard** , I kept getting the error `Primary nameserver cannot be resolved from the rest of the Internet : Host abc.xyz.com not found: 3(NXDOMAIN)` even after I’ve tried reinstalling the OS and trying step 1 and step 2 again. I could just skip the check but I want to resolve this issue before proceeding further. What should I do to fix this?

I bought the **[xyz.com](http://xyz.com)** in godaddy and the dns records are as follows:

`A @ xxx.xxx.xxx.xxx 600 seconds`

`CNAME www @ 1 Hour`

`CNAME _domainconnect _domainconnect.gd.domaincontrol.com 1 Hour`

`NS @ ns69.domaincontrol.com 1 Hour`

`NS @ ns70.domaincontrol.com 1 Hour`

`SOA @ Primary nameserver: ns69.domaincontrol.com 1 Hour``

* * *

* * *

**N.B.** Running`hostname -f` returns `abc.xyz.com` as expected.

**abc** is the hostname.

**[xyz.com](http://xyz.com)** is the domain name pointed to the VPS.

**xxx.xxx.xxx.xxx** is the IP Address of the VPS.

---

<div class="post-metadata">

**Author:** ![shillongserver](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/shillongserver/32/3126_2.png) [@shillongserver](https://forum.virtualmin.com/u/shillongserver)\
**Post date:** [February 10, 2019, 11:30am UTC](https://forum.virtualmin.com/t/primary-nameserver-cannot-be-resolved/59910/2 "2019-02-10T11:30:35Z")

</div>

Please close this thread. The issue was some dns misconfiguration on my side.

---

<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:** [April 30, 2020, 6:10am UTC](https://forum.virtualmin.com/t/primary-nameserver-cannot-be-resolved/59910/3 "2020-04-30T06:10:59Z")

</div>

Closed on April 30, 2020, 6:10am UTC


