Name Servers question, sorry being a new forum user, it wouldn’t allow more than 2 urls so spaced them out.
Set up a new (my first) top level server; let’s call it example.com
Wondering if I’ve made a mistake as
host -t NS example .com.au
I was expecting
example .com.au name server ns1. example.com.au.
example .com.au name server ns2. example.com.au.
but the output is
example .com.au name server example .com.au.
DNS has been set with
ns1.example .com.au
and
ns2.example .com.au
as per add ns1 and ns2 in virtualmin DNS records source:
virtualmin .com/docs/server-components/troubleshooting-dns/#
Any tips on how to fix please?
-------------------------------------- DNS records
$ttl 3600
example .com.au. IN SOA example .com.au. root.example .com.au. (
2024112601
3600
600
1209600
3600 )
@ IN NS example.com.au.
example .com.au. IN A 103.xx.xx.xxx
www.example .com.au. IN A 103.xx.xx.xxx
ftp.example .com.au. IN A 103.xx.xx.xxx
localhost.example .com.au. IN A 127.0.0.1
compers.example .com.au. IN A 103.xx.xx.xxx
webmail.example .com.au. IN A 103.xx.xx.xxx
admin.example .com.au. IN A 103.xx.xx.xxx
mail.example .com.au. IN A 103.xx.xx.xxx
example .com.au. IN MX 5 mail.example .com.au.
example .com.au. IN TXT “v=spf1 a mx a:example .com.au ip4:103.xx.xx.xxx ip4:103.xx.xx.xxx ?all”
202410._domainkey.example .com.au. IN TXT ( “v=DKIM1; k=rsa; t=s; p=” )
@ IN CAA 0 issuewild letsencrypt .org
ns1.example .com.au. IN A 103.xx.xx.xxx
ns2.example .com.au. IN A 103.xx.xx.xxx
There is currently a bug where nameserver entries are not always created.
This should be fixed in the next release of virtualmin. I can’t remember exactly when they are not created but search virtualmin GitHub under my username and you will find it.
This might not be the issue you are having but I thought I would mention it.
followed add ns1 and ns2 in virtualmin DNS records as per source:
virtualmin .com/docs/server-components/troubleshooting-dns/#
So perhaps the doco is incorrect or the Virtualmin virtual server install didn’t do as expected. Either way, my DNS record doesn’t report as correct. I suppose I could look at my cPanel equivalent to see what it should be and manually edit it but it kinda sucks
If you wrap them in backticks, they will be code and not URLs and there will be no limit. It’s also good practice to wrap all config files and command line samples in either backticks (`) or triple backticks (```), so they will appear as preformatted text.
Preinstalling any software, including Webmin, is unnecessary, and potentially destructive for the installation of Virtualmin. The Webmin package from Webmin.com probably won’t cause any problems, but the safest option is to follow our documentation.
It is a bunch of modules of Webmin, but the Virtualmin installer installs everything in the right way, if given a freshly installed supported OS. It’s probably fine as long as you used the appropriate package for your OS (i.e. not a tarball with the Webmin setup script), and you didn’t do anything else before installing Virtualmin.
But, of course, that has nothing to do with DNS issues. I just wanted to make sure anyone stumbling on this thread in the future wouldn’t think that was the right way to install Virtualmin.
Thanks Joe. Reinstalled the ISO, didn’t do any updates then SSH into server; unfortunately got two errors. Will post them in another topic/thread.
Have to wait 47 minutes as forum claims I’m too enthusiastic. Need AI so you know I’m not a spammer.
I have seen two errors in the install. Will post in a new topic when allowed.
Phase 2 of 4: Setup
…
error: package is not installed
Phase 4 of 4: Configuration
[21/21] Configuring Virtualmin
[28/Nov/2024:04:15:45 +0000] Failed to work out externally visible IP address virtual-server/virtual-server-lib-funcs.pl (line 18774)
Error
Failed to work out externally visible IP address virtual-server/virtual-server-lib-funcs.pl (line 18774)
----- Cleaning up