I have attempted to create new subdomain by creating a new email address firstname.lastname@example.org.
The email address has been created and added the control panel.
But only the email components has been created. E.g domains email, postmaster contact and the domain check at spamhaus.
No www was created?
Have I missed something?
www. in itself is a subdomain. so no need to create it when using a subdomain in an email… Unless what you are actually talking about is webhosting (like the scripts didn’t make a new www/html folder under user-data for example)
Hi I have created the subdomain.
But the system status page it reports the mx-record is not set which doesn’t worry me as its not going to be used for email.
But the status page also reports the A record is not set - domain should resolve to ip address. In the custom dns page the correct record has been assigned. As I will use this serve pages.
I haven’t restarted the box yet.
The scripts created the correct folder under user-data.
And the ssl cert can’t be applied as the dns is not resolving.
Where can I check the status of the dns from the command line?
Are you wanting the subdomain www.123.example.com ? If so, you need to add that to the Custom DNS page.
You can check DNS with:
nslookup www.123.example.com OR
however you need to do so from a DIFFERENT machine. Doing so on your MiaB server will cause the lookup to happen locally, which is not what you want.
I have checked the zone files on the server \etc\nsd\zones
The entry is listed in the file.
I have restarted the server also.
The status page is still reporting the a record is missing.
How does one remove a sub domain?
something strange is happening.
I removed my existing subdomain by archiving the user.
Removed the custom dns A record entry.
Checked the subdomain was removed from web config page and status pages.
Created a new subdomain. Domain was created. Checked the status page.
Subdomain on the status page - lists the domain currently resolves to [not set] in public dns.
Web page shows the directory structure exists, certificate are ready to be applied but can’t as the dns has issues.
I added an A record in custom dns for the subdomain, but the status pages still shows the dns as not set.
It should like the dns section of the not adding the A record which the other sections use.
I just checked zone file under /etc/nsd and the A record is listed as is the mx record.
How can one restart the dns service? I’m not sure what nsd is as it seems to hold the dns config yet bind is empty?
I failed to check the serial number of the zone file before adding so many the config is being fully updated or reread after the update.
Sorry about the delayed reply, its been a crazy week.
Anyway I have restarted the nsd service and still having the same issue.
Here is the line from the nsd zone file.
wiki IN A 18.104.22.168
So system has added it into the config file.
I thought it may have been blocked by my router, but as its pointing back at the miab server that should be an issue, and port 53 is allowed through.
I don’t have to add an entry at the registrar level do I?
I am seeing the subdomain wiki pointing it’s A record to IP 22.214.171.124, that is not a MX record entry…
No, your DNS is handled by the box, so all entries are either handled by the MiaB management daemon itself, or by editing Custom DNS.
Now this is what I am seeing at this moment. Your domain’s glue records are set. WHOIS is showing your MiaB to be your name servers. Your name servers are serving your domain correctly, however I am not seeing an entry for the subdomain wiki.
Where are you planning to host the subdomain wiki? On another server, or on the same server as MiaB?
Stop the presses: Remove your DNSSEC entry from your domain registrar. Your zone records are not being propagated because DNSSEC is failing. Remove it completely. Once things are working properly you can add it back on (using the correct keys) again if you wish to have your domain use DNSSEC.
@julians1976 After rereading this thread, I am still not entirely sure what you are attempting to accomplish … will you please elaborate?
What I do understand is that you want to create a sub-domain … for what purpose?
You never did answer the questions I asked here which would have helped me to understand:
I suggested that the issue may be related to DNSSEC and to turn it off at the registrar but you responded that there were no DNSSEC entries at the registrar. Did you remove them with no change concerning the issue?
You mentioned the need to upgrade … which version of MiaB are you presently running?
Anyway, sorry to have let your issue go unacknowledged the past 8 days.
I was attempting to setup a website on my miab using a subdomain name so the site is will obtain a tls certificate from lets encrypt.
I checked dns sec at my registrar, and it has not been enabled.
I’m currently a few versions behind 26c. I had a very slow internet connection for awhile (telco issues) which prevented me from attempting the update to 40/41 releases.
I was hoping the move to the latest version may resolve the issue with DNS.
Sorry about the delayed reply I have been busy with other jobs.