<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: net/resolvers/service.lua history</title>
    <description>net/resolvers/service.lua revision history</description>
    <item>
    <title>net.resolvers: Fix to avoid SRV lookups for IP addresses</title>
    <link>http://hg.omfa.de/prosody-hg/log/1cf6e3f49d10/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Fix to avoid SRV lookups for IP addresses<br/>
<br/>
SRV lookups of the form _service._tcp.192.0.0.8 IN SRV makes no sense.<br/>
<br/>
Problem was, what would a service without a default port do?<br/>
Now this problem belongs to the basic resolver, which gets to return the error.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 24 Mar 2026 16:34:06 +0100</pubDate>
</item>
<item>
    <title>net: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/ba409c67353b/net/resolvers/service.lua</link>
    <description><![CDATA[net: Prefix module imports with prosody namespace]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 17 Mar 2023 16:23:12 +0100</pubDate>
</item>
<item>
    <title>net.resolvers.service: Record DNSSEC security status of SRV records</title>
    <link>http://hg.omfa.de/prosody-hg/log/3bfb2f9e13af/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Record DNSSEC security status of SRV records<br/>
<br/>
Will be useful later.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 22 Dec 2022 00:10:49 +0100</pubDate>
</item>
<item>
    <title>net.resolvers.service: Fix reporting of Bogus DNSSEC results</title>
    <link>http://hg.omfa.de/prosody-hg/log/4be161c25e14/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Fix reporting of Bogus DNSSEC results<br/>
<br/>
The order of checks led to Bogus results being reported with a generic<br/>
&quot;unable to resolve service&quot;.  This had no practical effects as such<br/>
results are simply empty and the process would stop there.<br/>
<br/>
Tested by attempting to establish s2s with dnssec-bogus.sg and observing<br/>
the error reply.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 21 Dec 2022 23:46:37 +0100</pubDate>
</item>
<item>
    <title>Revert unintentionally committed parts of 12bd40b8e105</title>
    <link>http://hg.omfa.de/prosody-hg/log/b2d422b88cd6/net/resolvers/service.lua</link>
    <description><![CDATA[Revert unintentionally committed parts of 12bd40b8e105]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 21 Dec 2022 21:34:07 +0100</pubDate>
</item>
<item>
    <title>mod_c2s,mod_s2s: Adapt to XEP-xxxx: Stream Limits Advertisement</title>
    <link>http://hg.omfa.de/prosody-hg/log/12bd40b8e105/net/resolvers/service.lua</link>
    <description><![CDATA[mod_c2s,mod_s2s: Adapt to XEP-xxxx: Stream Limits Advertisement<br/>
<br/>
Thanks MattJ]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 20 Oct 2022 14:04:56 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Honour record 'weight' when picking SRV targets</title>
    <link>http://hg.omfa.de/prosody-hg/log/c029ddcad258/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Honour record 'weight' when picking SRV targets<br/>
<br/>
#NotHappyEyeballs]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 17 Mar 2022 18:20:26 +0000</pubDate>
</item>
<item>
    <title>net.resolvers: Report DNSSEC validation errors instead of NoError</title>
    <link>http://hg.omfa.de/prosody-hg/log/7a68d5828f3b/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Report DNSSEC validation errors instead of NoError<br/>
<br/>
Thanks Martin bringing this case to attention]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 28 Dec 2021 14:58:09 +0100</pubDate>
</item>
<item>
    <title>net.resolvers: Report when hostname fails IDNA</title>
    <link>http://hg.omfa.de/prosody-hg/log/6ed7fd28f5e3/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Report when hostname fails IDNA<br/>
<br/>
Not a particularly user-friendly error message, but better than &quot;unable<br/>
to resolve service&quot; and having no clue where it came from.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 07 Dec 2021 21:43:36 +0100</pubDate>
</item>
<item>
    <title>net.connect: Propagate last error message from resolvers</title>
    <link>http://hg.omfa.de/prosody-hg/log/26406ce35e20/net/resolvers/service.lua</link>
    <description><![CDATA[net.connect: Propagate last error message from resolvers<br/>
<br/>
Previously it would only say &quot;unable to resolve server&quot; for all DNS<br/>
problems. While &quot;NoError in A lookup&quot; might not make much sense to<br/>
users, it should help in debugging more than the previous generic error.<br/>
<br/>
Friendlier errors will be future work.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 12 Nov 2021 16:52:55 +0100</pubDate>
</item>
<item>
    <title>net.resolvers.service: Only do DANE with secure SRV records</title>
    <link>http://hg.omfa.de/prosody-hg/log/26a8cc9d9eb7/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Only do DANE with secure SRV records<br/>
<br/>
If this seems backwards, that' because it is but the API isn't really<br/>
designed to easily pass along details from each resolution step onto the<br/>
next.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 18 Jul 2021 23:25:45 +0200</pubDate>
</item>
<item>
    <title>net.resolvers: Remove FIXMEs obsoleted by switch to libunbound</title>
    <link>http://hg.omfa.de/prosody-hg/log/4603697aee50/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Remove FIXMEs obsoleted by switch to libunbound]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 25 Jun 2020 19:24:58 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Fix resolving of targets with multiple IPs</title>
    <link>http://hg.omfa.de/prosody-hg/log/324a0c7d1c6a/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Fix resolving of targets with multiple IPs<br/>
<br/>
Each basic resolver was only used once and not kept around to try any<br/>
IP addresses but the first one found.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 16 Feb 2020 23:48:31 +0100</pubDate>
</item>
<item>
    <title>net.connect: Add some TODOs and FIXMEs</title>
    <link>http://hg.omfa.de/prosody-hg/log/b13a31cea7d9/net/resolvers/service.lua</link>
    <description><![CDATA[net.connect: Add some TODOs and FIXMEs<br/>
<br/>
And mention issue numbers: #1246, #1428 and #1429]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 07 Dec 2019 17:05:00 +0100</pubDate>
</item>
<item>
    <title>net.resolvers.service: Pass IP literals directly to basic resolver</title>
    <link>http://hg.omfa.de/prosody-hg/log/1ee87b4979c2/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Pass IP literals directly to basic resolver<br/>
<br/>
IP literals will not work with SRV records anyways.<br/>
<br/>
Fixes s2s with IP literals.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 24 Nov 2019 04:43:14 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/1ef1f6c43c5b/net/resolvers/service.lua</link>
    <description><![CDATA[Merge 0.11-&gt;trunk]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 08 Nov 2019 00:58:03 +0100</pubDate>
</item>
<item>
    <title>net.resolvers: Fix traceback from hostname failing IDNA</title>
    <link>http://hg.omfa.de/prosody-hg/log/4c2d789a106b/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Fix traceback from hostname failing IDNA<br/>
<br/>
Related to #1426]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 08 Nov 2019 00:54:56 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/cf93a951da37/net/resolvers/service.lua</link>
    <description><![CDATA[Merge 0.11-&gt;trunk]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Nov 2019 19:38:12 +0100</pubDate>
</item>
<item>
    <title>net.resolvers: Abort on hostnames not passing IDNA validation</title>
    <link>http://hg.omfa.de/prosody-hg/log/62a7042e0771/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Abort on hostnames not passing IDNA validation<br/>
<br/>
Prevents error on trying to use nil.<br/>
<br/>
Needs better error reporting in the future.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Nov 2019 19:36:19 +0100</pubDate>
</item>
<item>
    <title>net.resolvers: Apply IDNA conversion to ascii for DNS lookups (fixes #1426)</title>
    <link>http://hg.omfa.de/prosody-hg/log/94c9c574cd8a/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers: Apply IDNA conversion to ascii for DNS lookups (fixes #1426)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Nov 2019 19:24:26 +0100</pubDate>
</item>
<item>
    <title>net.resolvers.service: Fix DNS fallback</title>
    <link>http://hg.omfa.de/prosody-hg/log/33f287519bf6/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Fix DNS fallback]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 17 Aug 2019 15:40:52 +0200</pubDate>
</item>
<item>
    <title>various: Don't rely on _G.unpack existing</title>
    <link>http://hg.omfa.de/prosody-hg/log/e11e076f0eb8/net/resolvers/service.lua</link>
    <description><![CDATA[various: Don't rely on _G.unpack existing]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 08 Dec 2018 17:09:55 +0100</pubDate>
</item>
<item>
    <title>net.resolvers.service: Sort SRV records in correct direction</title>
    <link>http://hg.omfa.de/prosody-hg/log/e09ddd061ec4/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Sort SRV records in correct direction]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 30 Sep 2018 13:02:46 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Fix sorting SRV record</title>
    <link>http://hg.omfa.de/prosody-hg/log/f57fc24aa0dd/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Fix sorting SRV record]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 30 Sep 2018 12:51:34 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Rename internal variable since net.connect uses it for __tostring</title>
    <link>http://hg.omfa.de/prosody-hg/log/794eda565c69/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Rename internal variable since net.connect uses it for __tostring]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 29 Sep 2018 23:04:53 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Add support for fallback to bare domain and default port</title>
    <link>http://hg.omfa.de/prosody-hg/log/bcd94cc355d3/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Add support for fallback to bare domain and default port<br/>
<br/>
The default port must be configured separately to enable this behavior]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 29 Sep 2018 22:03:16 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Early return on empty result set</title>
    <link>http://hg.omfa.de/prosody-hg/log/e2733f504d9e/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Early return on empty result set]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 29 Sep 2018 22:02:36 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: Understand when service is explicitly unavailable</title>
    <link>http://hg.omfa.de/prosody-hg/log/f2d71e4284b7/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: Understand when service is explicitly unavailable<br/>
<br/>
RFC2782 states:<br/>
&gt; A Target of &quot;.&quot; means that the service is decidedly not available at<br/>
&gt; this domain.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 29 Sep 2018 21:56:47 +0200</pubDate>
</item>
<item>
    <title>net.resolvers.service: net.connect resolver that uses SRV records</title>
    <link>http://hg.omfa.de/prosody-hg/log/a5d11627ce5d/net/resolvers/service.lua</link>
    <description><![CDATA[net.resolvers.service: net.connect resolver that uses SRV records]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 27 Sep 2018 12:25:46 +0200</pubDate>
</item>

  </channel>
</rss>
