Notifications

97 views

Description

Symptoms

Discovery dns_domain and fqdn are not the same.

Release

All currently supported version.

Cause

How discovery sets the dns_domain field:

The dns_name and dns_domain fields in a CI are usually collected in the Shazzam phase of discovery. The values returned are passed to the identification phase of the discovery. The identification phase populates/updates the field once the identification payload is processed. These are normally the dns values returned when doing an nslookup of the ip being discovered.

How discovery sets the fqdn field:

The fqdn field will depend on the device type/probe&sensor/pattern.

As an example, for windows OS devices, the following WMI fields are used:

  • Win32_ComputerSystem.Domain
  • Win32_ComputerSystem.Name

There are properties under "Discovery Definition > Properties" which can change how the fqdn field is populated.

  • glide.discovery.hostname.dns_nbt_trusted
  • glide.discovery.hostname.ssh_trusted
  • glide.discovery.hostname.wmi_trusted
  • glide.discovery.hostname.snmp_trusted

Search "discovery properties" on docs.servicenow.com for more information on the properties mentioned above.

As seen above, the fqdn and dns fields of a CI are determined differently.

Resolution

It is not an issue in itself that the fqdn and dns fields of a CI do not match. The dns values are often populated based on the results returned by the DNS server the MID server can reach, while fqdn is usually populated based on the results of scripts/queries directly against the device.

If the fqdn and dns fields must match on the environment, the following can be done to accomplish it.

If using probes, use the following properties to control how the fqdn is populated for a CI and achieve the desired behavior, may need to update probes/sensors:

  • glide.discovery.hostname.dns_nbt_trusted
  • glide.discovery.hostname.ssh_trusted
  • glide.discovery.hostname.wmi_trusted
  • glide.discovery.hostname.snmp_trusted

If using patterns, update the pattern so that the fqdn name is set to the same as that collected via dns.

Article Information

Last Updated:2019-08-02 20:43:27
Published:2019-05-16