Open pidster opened 8 years ago
Scope already does reverse lookups on ip addresses and know this information.
On Wednesday, 2 March 2016, Pid notifications@github.com wrote:
A queryable cache of forward DNS lookups that have been forwarded by Weave DNS will enable a probe to identify well-known external services used by an application monitored by Scope.
— Reply to this email directly or view it on GitHub https://github.com/weaveworks/weave/issues/2014.
I believe the issue is that for the services in question there is no reverse lookup information available.
@tomwilkie can Scope identify whether an application component is using SQS or SES, from the reverse lookup of an IP address alone?
@errordeveloper and I couldn't see how to do this as the results returned by the reverse lookup did not match the record used for the forward lookup.
I'm not sure where the reverse lookups are currently performed, but I would suggest in this case you would want them to be done by each probe against its co-located weaveDNS instance to avoid having to distribute the cache.
The reverse lookups are done by each probe against the system resolver:
https://github.com/weaveworks/scope/blob/master/probe/endpoint/resolver.go
A queryable cache of forward DNS lookups that have been forwarded by Weave DNS will enable a probe to identify well-known external services used by an application monitored by Scope.