On 23/05/2026 at 09:18, Arnaud Rebillout wrote:
On 19/05/2026 23:20, Marc Haber wrote:
On Mon, May 18, 2026 at 11:00:05PM +0700, Arnaud Rebillout wrote:
Getting default hostname from rDNS lookup of autoconfigured address
10.0.2.15
Hostname found: 10.0.2.15
What does the configured DNS-server reply for a PTR query for
15.2.0.10.in-addr.arpa? Does it say NXDOMAIN? Does it maybe deliver
"10.0.2.15"?
root@debianvm:~# dig -x 10.0.2.15
(...)
;; ANSWER SECTION:
15.2.0.10.in-addr.arpa. 0 IN PTR 10.0.2.15.
As Marc suspected, "10.0.2.15" is the reverse DNS name returned by your
DNS server for IP address 10.0.2.15. So netcfg is correct, but the
reverse DNS configured in your DNS server is wrong. At best, netcfg may
discard the invalid reverse DNS.