Skip to content

A simple DNS library that allows serialization and deserialization of DNS packets, along with advertising and polling using mDNS, LLMNR and DNS-SD.

License

Notifications You must be signed in to change notification settings

TeamShinkansen/DnsUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DnsUtils

A simple DNS library that allows serialization and deserialization of DNS packets, along with advertising and polling using mDNS, LLMNR and DNS-SD.

Example

Synchronous

Mdns mdns = new Mdns();
Llmnr llmnr = new Llmnr();

IPAddress address = NameResolving.ResolveAsync("vdownsrv-sql", 2000, mdns, llmnr).Result;

if (address != null)
{
    // Success!
}

Asynchronous

Mdns mdns = new Mdns();
Llmnr llmnr = new Llmnr();

IPAddress address = await NameResolving.ResolveAsync("vdownsrv-sql", 2000, mdns, llmnr);

if (address != null)
{
    // Success!
}

About

A simple DNS library that allows serialization and deserialization of DNS packets, along with advertising and polling using mDNS, LLMNR and DNS-SD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages