IpDnsDomain 0.0.6

dotnet add package IpDnsDomain --version 0.0.6
                    
NuGet\Install-Package IpDnsDomain -Version 0.0.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IpDnsDomain" Version="0.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IpDnsDomain" Version="0.0.6" />
                    
Directory.Packages.props
<PackageReference Include="IpDnsDomain" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IpDnsDomain --version 0.0.6
                    
#r "nuget: IpDnsDomain, 0.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IpDnsDomain@0.0.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IpDnsDomain&version=0.0.6
                    
Install as a Cake Addin
#tool nuget:?package=IpDnsDomain&version=0.0.6
                    
Install as a Cake Tool

IpDnsDomain ✅

Validating Address or Ip is Reachble

//this domains and ip's valid when reachable
var result = DomainValidator.GetIpDnsUrl("[2a02:2e0:3fe:1001:302::]");
var result = DomainValidator.GetIpDnsUrl("http://heise.de");
var result = DomainValidator.GetIpDnsUrl("localhost");
var result = DomainValidator.GetIpDnsUrl("192.168.178.111:234");
var result = DomainValidator.GetIpDnsUrl("[2a02:2e0:3fe:1001:302::]:22");
var result = DomainValidator.TryGetIpDnsUrl("https://heise.de", out var ipDnsUrl);
var result = DomainValidator.TryGetIpDnsUrl("google.com", out var ipDnsUrl);

// Pro tipp use this for fast inputs Ui etc...
if((await DomainValidator.GetIpDnsUrlAsync("192.168.178.111:234")) is IpDnsUrl domain)
{
  //this is an domainaddress, ipv4, ipv6 (with ports or without ports) which is reachable
   var domain = doamin.ReachableUrl;
}

is this Thread-Safe?

Yes is fully Paralell save

can it use local lan network addresses

Yes all Protocols are usable valid addresses without → dot ← are not accepted only localhost

Nuget 📦

https://www.nuget.org/packages/IpDnsDomain/

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.6 406 11/20/2025
0.0.5 413 11/20/2025
0.0.4 413 11/20/2025
0.0.3 402 11/19/2025