# DNS lokup failing for subdomain

**URL:** <https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985>\
**Category:** Help! (Home for newbies)\
**Created:** [June 30, 2025, 12:18am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985 "2025-06-30T00:18:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![daychilde](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/daychilde/32/17635_2.png) [@daychilde](https://forum.virtualmin.com/u/daychilde)\
**Post date:** [June 30, 2025, 12:18am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/1 "2025-06-30T00:18:42Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu 22.04.5 |
| Virtualmin version | 2.303 |

I’ve created sub-servers and subdomains (as parent sites) plenty of times on this server, all has worked fine.

The parent site - magnolia.host - is working fine. But I created cloud.magnolia.host - and it appears properly set up in virtualmin - but DNS is refusing to acknowledge it exists.

All features are enabled, DNS records appear to exist including the A record.

Where do I start?

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [June 30, 2025, 12:28am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/2 "2025-06-30T00:28:42Z")

</div>

> [@daychilde](#):
>
> Where do I start?

Restart/reload bind?  
Are you even doing the DNS?  
Name Server: [NS1.NULLUSANXIETAS.COM](http://NS1.NULLUSANXIETAS.COM)  
Name Server: [NS2.NULLUSANXIETAS.COM](http://NS2.NULLUSANXIETAS.COM)

---

<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:** [June 30, 2025, 12:33am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/3 "2025-06-30T00:33:34Z")

</div>

> [@daychilde](#):
>
> DNS records appear to exist including the A record.

How are you confirming that?

You should generally do something like:

```auto
host sub.domain.tld

```

From some other system. (Or `nslookup`, if you’re afflicted by Windows.)

My guess would be the DNS servers being managed by Virtualmin aren’t actually the DNS servers for the zone. Check that with:

```auto
whois domain.tld

```

This should be actual domain, not the subdomain name, since you need to look up the name servers for the zone, not the A records for the subdomain.

---

<div class="post-metadata">

**Author:** ![daychilde](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/daychilde/32/17635_2.png) [@daychilde](https://forum.virtualmin.com/u/daychilde)\
**Post date:** [June 30, 2025, 1:07am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/4 "2025-06-30T01:07:56Z")

</div>

I am [NullusAnxietas.com](http://NullusAnxietas.com). 🙂

So:

1. [NullusAnxietas.com](http://NullusAnxietas.com) resolves to the server and ns1/ns2 are successfully set up.
2. That’s how magnolia.host itself is setup and is working
3. Magnolia.host and cloud.magnolia.host were set up today, the former is working, the latter is not
4. The magnolia.host virtual server and cloud.magnolia.host sub-server were both set up today in Virtualmin, the domain was regitered earlier today and ns setup there - all of the sites on my server use these nameservers, which are setup on the server and have been working for IIRC 18ish months just fine

I had not previously restarted the server, but have now.

clouda.magnolia.host DNS in Virtualmin:

[![](https://i.imgur.com/LhieAr0.png) ](https://i.imgur.com/LhieAr0.png)

I chopped off the IP, but it is the main server’s shared.

I’ve also compared the records for [nullusanxietas.com](http://nullusanxietas.com) and [cloud.nullusanxietas.com](http://cloud.nullusanxietas.com).

My knowledge of DNS is not expert, it’s midrange. so I notice the main domains have NS records, subdomains appear not to. This is true for [cloud.nullusanxietas.com](http://cloud.nullusanxietas.com) which is working as well as cloud.magnolia.host which is not.

Running bash locally on my system here:

[![](https://i.imgur.com/ALkKZVc.png) ](https://i.imgur.com/ALkKZVc.png)

EDIT: typo

[![](https://i.imgur.com/jwbbLzs.png) ](https://i.imgur.com/jwbbLzs.png)

I also registered [magnoliahost.com](http://magnoliahost.com) — sorry for the typo, but cloud.magnolia.host results just above.

EDIT2: Dang it, I’d typed it wrong both times.

[![](https://i.imgur.com/FfCX1CM.png) ](https://i.imgur.com/FfCX1CM.png)

It’s failing NOW, but it had worked just a few mins ago before a server reboot:

FROM EARLIER:

[![](https://i.imgur.com/b5jGz9y.png) ](https://i.imgur.com/b5jGz9y.png)

Magnolia.host was working fine - I installed wordpress and built a site earlier today. Now it’s not loading in the browser. WTF???

dns propagation checker still shows it fr a couple, but it dropped off in the past few minutes - the ONLY thing I did was a server reboot!

[![](https://i.imgur.com/WpgqKu4.png) ](https://i.imgur.com/WpgqKu4.png)

edit: Remains set up at the registrar:

[![](https://i.imgur.com/sz04hQH.png) ](https://i.imgur.com/sz04hQH.png)

Also, I’d checked whois, but to clarify:

[![](https://i.imgur.com/aJutVEf.png) ](https://i.imgur.com/aJutVEf.png)

---

<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:** [June 30, 2025, 3:48am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/5 "2025-06-30T03:48:27Z")

</div>

I get a weird error I’ve never seen before at mxtools. It maybe registrary settings or nameservers not setup correctly.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/5/4/5482fc8a25952be3ee453a883b290a4fbc25a68f.png)

For magnolia.host have you created the NS records `ie magnolia.host. NS ns1.nullusanxietas.com`

---

<div class="post-metadata">

**Author:** ![daychilde](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/daychilde/32/17635_2.png) [@daychilde](https://forum.virtualmin.com/u/daychilde)\
**Post date:** [June 30, 2025, 11:13am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/6 "2025-06-30T11:13:08Z")

</div>

Oops, thought I’d pasted a screenshot of that:

[![](https://i.imgur.com/vJPEFXA.png) ](https://i.imgur.com/vJPEFXA.png)

Ns are indeed ns1/2.nullusanxietas.com

I appreciate folks looking at this very much \<3

And in a weird way, I feel slghtly better about it not being something SUPER stupid, at least. lol (or at least, seems that way so far)

---

<div class="post-metadata">

**Author:** ![daychilde](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/daychilde/32/17635_2.png) [@daychilde](https://forum.virtualmin.com/u/daychilde)\
**Post date:** [July 25, 2025, 4:59am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/7 "2025-07-25T04:59:41Z")

</div>

I still don’t know what the heck caused problems, except that I set up MX records pointing to MXROUTE services. Just MX and… I forget now which of SPF/DMARC/DKIM. But none of the A or NS records, for example, for which I’d posted screenshots…

I don’t know why changing the MX records caused the domain to eventually disappear from external DNS providers, i.e. no longer able to be looked up…

At some point, I’ll experiment with a less important domain than my primary business domain, I suppose. I don’t know why messing with the MX records would cause the domain to stop working, but that’s apparently the cause as it happened three times - I deleted and recreated the virtual server, and it worked - until I messed with the MX records, then as caching ran out, the domain stopped being accessible from browsers or global DNS propagation checks.

Mostly coming back to add this in case anyone else runs across this problem and winds up in this thread.

---

<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:** [September 23, 2025, 5:00am UTC](https://forum.virtualmin.com/t/dns-lokup-failing-for-subdomain/133985/8 "2025-09-23T05:00:20Z")

</div>

Closed on September 23, 2025, 5:00am UTC

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