Skip to content
cocurrent DNS client/library, query every server with non-blocking interface
Branch: master
Clone or download
Latest commit 51da17b May 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src query domain only once May 20, 2018
vendor query domain only once May 20, 2018
.gitignore initial version Apr 21, 2018
.gitmodules initial version Apr 21, 2018
.travis.yml
LICENSE
Makefile update Makefile, require C99 Apr 21, 2018
README.md query domain only once May 20, 2018

README.md

MIT licensed Build Status

About

m_dnscnt is DNS query client/library with concurrency, on-blocking interface, base on m_net, m_foundation.

Support Linux/MacOS/FreeBSD/Windows.

Features

  • query every DNS server at one time, pick the very first response
  • query same domain only once
  • standalone/library mode with concurrency, non-blocking interface
  • local cache 48 hrs

Usage

1. standalone mode

$ git submodule update --init --recursive
$ make # gmake in FreeBSD
$ ./dns_cnt.out 30000 'google.com' 'youtube.com' 'facebook.com'
$ ./dns_cnt.out 30000 'google.com' 'google.com' 'google.com' 'google.com'

2. library mode

require m_net, m_foundation.

using API in mdns_cnt.h.

You can’t perform that action at this time.