Bdev.Net.Dns 1.0.14

There is a newer version of this package available.
See the version list below for details.
dotnet add package Bdev.Net.Dns --version 1.0.14
NuGet\Install-Package Bdev.Net.Dns -Version 1.0.14
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="Bdev.Net.Dns" Version="1.0.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bdev.Net.Dns --version 1.0.14
#r "nuget: Bdev.Net.Dns, 1.0.14"
#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.
// Install Bdev.Net.Dns as a Cake Addin
#addin nuget:?package=Bdev.Net.Dns&version=1.0.14

// Install Bdev.Net.Dns as a Cake Tool
#tool nuget:?package=Bdev.Net.Dns&version=1.0.14


Nuget (with prereleases)

A .Net library to execute DNS lookups from one, or multiple DNS server.

Sample usage

Install-Package Bdev.Net.Dns


Return all available ANAME records for Google


Return all MX Records for a domain

DnsServers.Resolve<MXRecord>("", DnsType.MX, DnsClass.IN);

Return all TXT records for a domain

Resolver.Lookup(new Request { RecursionDesired = true }.WithQuestion(new Question("", DnsType.TXT)));

or with a helper


Return a CNAME


Get all known DNS Servers on all active network interfaces




Specifying DNS lookup

Resolve a record on a DNS server

// create a new request
var request = new Request();

// add the codeproject NS question
request.AddQuestion(new Question("", DnsType.NS, DnsClass.IN));

// send the request
Response response = Resolver.Lookup(request, DnsServers.IP4.First());

Release history

1.0.13 Bug fix

1.0.12 Fix CNAME lookup #7

1.0.11 Fix TXT records with multiple strings Add DNS over TCP fallback for truncated messages

1.0.10 Quality improvements

1.0.9 Support for .Net Core 3.1 and .Net 4.8

1.0.8 Added support for CNAME

Breaking changes

New project organization will require to update imports of references for records and custom exceptions.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Bdev.Net.Dns:

Package Downloads

Extension of imbNLP libraries, introducing support for MULTEXT-East morphosyntactic dictionary and pipeline framework for parallel web content decomposition and POS tagging


LazyRabbit Onehop Mail Sender


Natural Language Processing libraries of Veles project, Core and Data namespaces dealing with lexic resources, pipeline decomposition and other NLP stuff


imbACE is all about rapid console application development – any kind of console application. The main use case is: development of your research-specific console application/tool for automated experimentation, data processing and reporting. It contains several user input/output systems, parallel and persistent task management (single PC or network), its own ACE and S# script languages, plugin system, download/upload tasks (http/ftp), TCP/IP server/client remote messaging and other things.


Web Exploration Model: crawlers, crawler reports, web analytic console, web loader, web crawler experiment setup...

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.16 294 1/26/2024
1.0.15 69 1/26/2024
1.0.14 84 1/22/2024
1.0.13 1,962 9/2/2022
1.0.12 683 5/12/2022
1.0.11 3,099 4/9/2021
1.0.10 1,775 5/24/2020
1.0.9 628 5/24/2020
1.0.8 637 5/24/2020
1.0.7 728 5/24/2020
1.0.6 1,169 9/1/2019
1.0.5 773 8/31/2019
1.0.4 16,583 8/31/2017
1.0.3 1,309 8/30/2017
1.0.2 6,456 4/5/2015
1.0.1 2,106 1/6/2015
1.0.0 3,802 5/19/2014

1.0.14 Wait 5 seconds for a dns request to complete.
     Discontinue support for .Net 3.1
     1.0.13 Bug fix for MemoryStream
     1.0.12 Fix CNAME lookup #7
     1.0.11 Fix TXT records with multiple strings
     Add DNS over TCP fallback for truncated messages
     1.0.10 Only code quality imporvements
     1.0.9 Support for .Net Core 3.1 and .Net 4.8
     1.0.8 Added support for CNAME