<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:42 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[GODRIVER-2045] Cache DNS results</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2045</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Background&lt;/b&gt;&lt;br/&gt;
The Go driver by default uses the net.Dialer configured in&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/49af6e279ffe534210dca95e375d372517145e44/x/mongo/driver/topology/connection_options.go#L28-L32&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;connection_options.go&lt;/a&gt;. The behavior of net.Dialer&#8217;s DNS resolution is described here&#160;&lt;a href=&quot;https://golang.org/pkg/net/#hdr-Name_Resolution&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://golang.org/pkg/net/#hdr-Name_Resolution&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;By default the pure Go resolver is used, because a blocked DNS request consumes only a goroutine, while a blocked C call consumes an operating system thread. When cgo is available, the cgo-based resolver is used instead under a variety of conditions:&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;In the uncommon case that cgo is used, the system cache may be used. But otherwise the Go runtime explicitly does not cache DNS results. The proposal was rejected in&#160;&lt;a href=&quot;https://github.com/golang/go/issues/24796&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/golang/go/issues/24796&lt;/a&gt;.&lt;br/&gt;
&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Determine a caching policy add support for caching DNS results. Consider if this could negatively impact existing users if we change the default behavior (if so, consider making this opt-in).&lt;/p&gt;</description>
                <environment></environment>
        <key id="1777724">GODRIVER-2045</key>
            <summary>Cache DNS results</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="qingyang.hu@mongodb.com">Qingyang Hu</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Fri, 11 Jun 2021 21:41:49 +0000</created>
                <updated>Wed, 21 Dec 2022 03:05:44 +0000</updated>
                            <resolved>Thu, 13 Oct 2022 21:30:34 +0000</resolved>
                                                                                        <votes>3</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="4905017" author="xgen-internal-githook" created="Sat, 15 Oct 2022 03:07:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Qingyang Hu&apos;, &apos;email&apos;: &apos;103950869+qingyang-hu@users.noreply.github.com&apos;, &apos;username&apos;: &apos;qingyang-hu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2045&quot; title=&quot;Cache DNS results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2045&quot;&gt;&lt;del&gt;GODRIVER-2045&lt;/del&gt;&lt;/a&gt; Fix broken build. (#1094)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2045&quot; title=&quot;Cache DNS results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2045&quot;&gt;&lt;del&gt;GODRIVER-2045&lt;/del&gt;&lt;/a&gt; Fix broken build.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/25122e12942e5d1fa1dff4df03d8110515df3037&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/25122e12942e5d1fa1dff4df03d8110515df3037&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4902308" author="JIRAUSER1268281" created="Thu, 13 Oct 2022 21:30:04 +0000"  >&lt;p&gt;Proposed an example of a custom dialer with basic caching at &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/examples/example_customdns_test.go&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/master/examples/example_customdns_test.go&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4902293" author="xgen-internal-githook" created="Thu, 13 Oct 2022 21:25:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Qingyang Hu&apos;, &apos;email&apos;: &apos;103950869+qingyang-hu@users.noreply.github.com&apos;, &apos;username&apos;: &apos;qingyang-hu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2045&quot; title=&quot;Cache DNS results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2045&quot;&gt;&lt;del&gt;GODRIVER-2045&lt;/del&gt;&lt;/a&gt; Propose an example of custom dialer with DNS cache. (#1088)&lt;/p&gt;

&lt;p&gt;Propose an example of custom dialer with DNS cache.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/d30e7bc7e59f423986011e94017679dcdc5f0c49&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/d30e7bc7e59f423986011e94017679dcdc5f0c49&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000xEjRnQAK, 5002K00000wWOT4QAO, 5002K00000nEMOjQAO, 5002K00000sdaDrQAI, 5002K00000mqwMjQAI]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0qbb0:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>