Skip to content

Return DNS name on a service #228

@avalls-smd

Description

@avalls-smd

Hi, as far as I can tell the dns_name attribute from the IP of a service is not getting fetched to a corresponding label or the target. Is this intended behaviour?

"targets": [
            "node"
],
"labels": {
            "__meta_netbox_id": "3",
            "__meta_netbox_name": "node",
            "__meta_netbox_display": "node (TCP/9100)",
            "__meta_netbox_ports": "9100",
            "__meta_netbox_tags": "exporter",
            "__meta_netbox_tag_slugs": "exporter",
            "__meta_netbox_parent": "someserver",
            "__meta_netbox_primary_ip": "X.X.X.X",
            "__meta_netbox_primary_ip4": "X.X.X.X",
            "__meta_netbox_site": "Something",
            "__meta_netbox_site_slug": "something"

It would be quite helpful to use the DNS name instead of the primary ip directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions