Skip to content

Commit

Permalink
chore: disable Quad9 until issue resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed May 24, 2019
1 parent eb384e5 commit 83a833f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/DotClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,14 @@ public class DotClient : DnsClientBase
Pins = new[] { "h3mufC43MEqRD6uE4lz6gAgULZ5/riqH/E+U+jE3H8g=" },
Address = IPAddress.Parse("146.185.167.43")
},
// see https://github.com/richardschneider/net-udns/issues/18"
#if false
new DotEndPoint
{
Hostname = "dns.quad9.net",
Address = IPAddress.Parse("9.9.9.9")
},
#endif
};

static ILog log = LogManager.GetLogger(typeof(DotClient));
Expand Down
2 changes: 1 addition & 1 deletion src/Udns.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<ItemGroup>
<PackageReference Include="Common.Logging" Version="3.4.1" />
<PackageReference Include="Makaretu.Dns" Version="1.3.0" />
<PackageReference Include="Makaretu.Dns" Version="1.4.1" />
<PackageReference Include="Nito.AsyncEx" Version="5.0.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion test/DotClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public async Task Query_Quad9()
}
})
{
var query = new Message { RD = true, Id = 1234 };
var query = new Message { RD = true };
query.Questions.Add(new Question { Name = "ipfs.io", Type = DnsType.TXT });
var response = await dot.QueryAsync(query);
Assert.IsNotNull(response);
Expand Down

0 comments on commit 83a833f

Please sign in to comment.