Skip to content

Commit

Permalink
refactor(extensions): clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
egbakou committed Jan 1, 2024
1 parent 12b3440 commit 79b733b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/DomainVerifier.Extensions/DependencyInjection.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
using DnsClient;
using DomainVerifier.Interfaces;
using DomainVerifier.Services;
using DomainVerifier.Settings;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Collections.Generic;
using System.Linq;
using System.Net;

namespace DomainVerifier.Extensions
{
Expand Down Expand Up @@ -45,11 +45,11 @@ public static IServiceCollection AddDomainVerifierServices(this IServiceCollecti
true => filteredDnsServers
.Select(x => new IPEndPoint(IPAddress.Parse(x.IpAddress), x.Port))
.ToArray(),
_ => new[]
{
_ =>
[
NameServer.Cloudflare,
NameServer.GooglePublicDns
}
]
};
var client = new LookupClient(nameServers);

Expand Down

0 comments on commit 79b733b

Please sign in to comment.