aloxe
1
I realised that since I use Virtualmin, the zone that is created when you create a new virtual server adds a A record for localhost in the zone file.
However, I was wondering if a AAAA should not be added too with the IPv6 localhost (::1
).
I personally almost always add it manually but is it really useful?
Why would you worry, its in your host file anyway that override dns?
aloxe
3
I don’t understand your remark.
its really not needed as its set in the host file. So its already there and not needed in DNS.
aloxe
5
Except that I am talking about a new virtual server. A new domain name.
jimr1
6
Contents of the hosts file is used wether the virtual server is old or new, it’s done that way to save the effort of adding it to each virtual server
aloxe
7
It means that any request to localhost that leeks up to my localhost.example.com will get the loopback answer with127.0.0.1 or ::1 ?
In that case I wonder why Virtualmin keeps adding the
localhost.example.com. IN A 127.0.0.1
in all zonefiles.