]
Sebastian Łaskawiec commented on JGRP-2295:
-------------------------------------------
I suggest to introduce a new field (maybe called {{dns_resolver_class}}) that will be used
to create a {{dns_resolver}} instance. the class might be initialized here:
Add local Operation System DNS resolver implementation
------------------------------------------------------
Key: JGRP-2295
URL:
https://issues.jboss.org/browse/JGRP-2295
Project: JGroups
Issue Type: Feature Request
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
The {{DefaultDNSResolver}} queries the DNS server and extracts values it returned.
There's however another approach - query the local OS DNS resolver. This approach has
some advantages because it takes both {{/etc/hosts}} as well as {{/etc/resolv.conf}} files
under consideration. We should provide an {{OSDNSResolver}} implementation that would do
it.