[jboss-jira] [JBoss JIRA] (JGRP-2295) Add local Operation System DNS resolver implementation
Sebastian Łaskawiec (JIRA)
issues at jboss.org
Thu Sep 20 14:27:00 EDT 2018
[ https://issues.jboss.org/browse/JGRP-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636490#comment-13636490 ]
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: https://github.com/belaban/JGroups/blob/master/src/org/jgroups/protocols/dns/DNS_PING.java#L53-L55
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list