Default Hostname not created and errors

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.1
Virtualmin version 7.30.3

I use an Ubuntu Server Image rom my Hoster Netcup. On this image they use cloud-int for getting IP Adresses , Nameservers and so.

Virtualmin gets no errors during installation, but then…

The Default Host wouldnt be created correctly. there is an user and folder with .default_host
If i Check configuration, i got this error:

BIND DNS server is installed, however, the default primary DNS server v2202412545363034xx.supersrv.de does not resolve to an IP address

what can i do to fix this. all other domains working.

Hmm… Is 46.38.243.234 the correct IP address?

mit@~:ping v2202412545363034xx.supersrv.de
PING v2202412545363034xx.supersrv.de (46.38.243.234) 56(84) bytes of data.
^C
--- v2202412545363034xx.supersrv.de ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11247ms

Does this section look OK to you?

My Host and IP Adress is v220241254536303498.supersrv.de 152.53.84.204

Well, it resolves from the outside.

Not sure if this is relevant but this seems like a strange result. I’m guessing maybe this is only because the name servers are set up for internal use only? I get a different answer if I don’t specify the name server.


mit@~:dig @46.38.225.230 v220241254536303498.supersrv.de

; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> @46.38.225.230 v220241254536303498.supersrv.de
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 12060
;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; Query time: 135 msec
;; SERVER: 46.38.225.230#53(46.38.225.230) (UDP)
;; WHEN: Wed Dec 25 10:27:26 EST 2024
;; MSG SIZE  rcvd: 12

Can you ping the address from the server to see if it resolves?

root@indernet:~ # dig v220241254536303498.supersrv.de

; <<>> DiG 9.20.2 <<>> v220241254536303498.supersrv.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60489
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;v220241254536303498.supersrv.de. IN    A

;; ANSWER SECTION:
v220241254536303498.supersrv.de. 7200 IN A      152.53.84.204

;; Query time: 179 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Wed Dec 25 17:05:46 CET 2024
;; MSG SIZE  rcvd: 76

I made an dig from my local server and seems ok…
the error is in virtualmin… but how can i fix this in virtualmin…

I meen THIS Message::

BIND DNS server is installed, however, the default primary DNS server does not resolve to an IP address

Just as an aside, I would recommend folks be careful fiddling with the Network Configuration pages in Webmin on a virtual machine at a hosting provider. There are no user serviceable parts in the network configuration on a virtual machine; leave it alone. If you change anything related to IP, routing, DHCP, etc. you can only break connectivity to the server, you can’t make anything better.

The only thing you can safely change is the hostname, but it’s easy to break other stuff when messing around in Webmin’s Network Configuration pages.

Yeah. I just asked to make sure the page was populated because of this statement.

Ive tried an other image.
the first was ubuntu server - Ubuntu Linux 24.04.1
the next was Debian Linux 12 Server.

Boath have same problems with default hostname.

virtualmin dont create default host as first domain. and on users there is an ._default_host user.
please can me anybody help…

BIND DNS server is installed, however, the default primary DNS server v220241254536303498.supersrv.de does not resolve to an IP address

this message is on each system…
why???

I don’t know how the error can be more clear. That name (the hostname of the system) does not resolve to an IP address. The message has already answered the question of why it is showing the message.

You can avoid the error about resolving by simply telling it not to check. But, if you’re expecting a domain for the system hostname (for getting a Let’s Encrypt certificate), the name has to resolve.

We can’t make it resolve at this stage, only you (or your hosting provider) can make it resolve at this stage. Virtualmin is not managing anything that could make it resolve this early in the process. Either the hostname resolves, and it’ll get a cert and such, or it doesn’t and it won’t even try (and you can ignore the browser warning until you get some Virtual Servers setup in Virtualmin).

The system hostname virtual server that is automatically created during installation is a minor convenience feature to avoid a browser error the first time you login. It is not a thing you need to freak out about (though you probably do want your system name and IP to resolve, both forward and backward, if you’ll be sending mail directly from this system).

Normally the hostname provided by your host will resolve, so it’s kind of cruddy that it doesn’t in this case. But, you can rename your system to something in a domain you control, and create an A record so it does resolve. If you need the system hostname virtual server to be created, you’ll need to do that before you install Virtualmin. (But, you don’t need that virtual server for anything once you have regular Virtual Servers with TLS certs, you can just login using any of those names, instead).

ive check this option to tell him it not to check. but same problem as bevor

This issue should be fixed by now, as far as I can tell:

~# dig A v220241254536303498.supersrv.de
; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> A v220241254536303498.supersrv.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39049
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;v220241254536303498.supersrv.de. IN	A

;; ANSWER SECTION:
v220241254536303498.supersrv.de. 7163 IN A	152.53.84.204

;; Query time: 71 msec
;; SERVER: 10.211.55.1#53(10.211.55.1) (UDP)
;; WHEN: Sat Dec 28 02:31:30 EET 2024
;; MSG SIZE  rcvd: 76