network-get returns an empty hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Hostnames are only populated in `network-get` output when a manual provider is used and machines are added to the model via hostname, not address.
https:/
It would be good if Juju populated this field based on a reverse DNS resolution for an address done at the Unit agent's machine. The goal would be to have a canonical/primary name (don't confuse with a CNAME RR name) exposed there taken from a PTR resource record content in the IN-ADDR.ARPA domain.
https:/
"Both the gateway pointers at network nodes and the normal host pointers at full address nodes use the PTR RR to point back to the primary domain names of the corresponding hosts."
Example:
1.2.
This information is not always available because reverse lookup zones are not set up in all environments but it is useful where available.
It looks like this field was added w.r.t to this bug:
https:/
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | added: network |
tags: | added: network-get |
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.