You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been a frequent request to be able to connect to a DNS Server, retrieve the list of records and generate a requisition based on the output.
OpenNMS has the DNS Provisioning Adapter, but unfortunately, it uses an over-complicated algorithm to generate a numeric value for the foreign ID, which is not human readable.
On a DNS server, each FQDN is unique, which gives us the ability to set not only the Foreign ID but also the Node Label to be the FQDN obtained from the DNS Server.
The following project can help with the implementation of this feature:
onmsctl inventory dns 10.0.0.1 example.com
onmsctl inventory dns --requisition myRecords generate 10.0.0.1 example.com
The user should pass the DNS Server IP or FQDN, the name of the domain from which the A records will be pulled off, and the name of the requisition as a parameter. If the name of the requisition is omitted, the name of domain host will be used.
That will generate a YAML with the requisition, but the format can be changed accordingly.
In this case, the normalized FQDN of each record will be used as Foreign ID and Node Label.
It's been a frequent request to be able to connect to a DNS Server, retrieve the list of records and generate a requisition based on the output.
OpenNMS has the DNS Provisioning Adapter, but unfortunately, it uses an over-complicated algorithm to generate a numeric value for the foreign ID, which is not human readable.
On a DNS server, each FQDN is unique, which gives us the ability to set not only the Foreign ID but also the Node Label to be the FQDN obtained from the DNS Server.
The following project can help with the implementation of this feature:
https://github.com/zmap/zdns
The text was updated successfully, but these errors were encountered: