Skip to content

FQDN of host is a reverse lookup, not the hosts configured FQDN #92

@rolffujino

Description

@rolffujino

socket.getfqdn doesn't return the configured FQDN of the host but the DNS reverse lookup of the host IP.

This can cause problems and headaches if the DNS is wrong, it would be better to rely on what is actually configured on the host, since it is supposed to be reporting on the host.

OS: Ubuntu 22.04
Python: 3.10.12

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions