All Projects → ba0f3 → dnsclient.nim

ba0f3 / dnsclient.nim

Licence: MIT license
Simple DNS Client & Library in pure Nim

Programming Languages

nim
578 projects

Projects that are alternatives of or similar to dnsclient.nim

Massdns
A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
Stars: ✭ 2,093 (+9866.67%)
Mutual labels:  dns-client
Trust Dns
A Rust based DNS client, server, and resolver
Stars: ✭ 2,155 (+10161.9%)
Mutual labels:  dns-client
dns
dns is a simple CLI tool for DNS-LG API
Stars: ✭ 28 (+33.33%)
Mutual labels:  dns-client
q
A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.
Stars: ✭ 453 (+2057.14%)
Mutual labels:  dns-client
scotty
A Tcl extension for building network management (SNMP, ICMP, UDP, DNS) applications
Stars: ✭ 29 (+38.1%)
Mutual labels:  dns-client
net.dnsclient
DNS Client Web App hosted on https://dnsclient.net/
Stars: ✭ 27 (+28.57%)
Mutual labels:  dns-client
node-dns
🌐 DNS Server and Client Implementation in Pure JavaScript with no dependencies.
Stars: ✭ 390 (+1757.14%)
Mutual labels:  dns-client
DoNotSend
Sending messages by hacking the DNS protocol. See website for demo server usage instructions
Stars: ✭ 93 (+342.86%)
Mutual labels:  dns-client
pycameresp
Motion detection with image notification for Esp32CAM and Esp32 flasher with GUI based on esptool.py.
Stars: ✭ 40 (+90.48%)
Mutual labels:  dns-client

dnsclient

Simple DNS Client and library in pure Nim

Installation

$ nimble install dnsclient

Usage

This is a hybird repo, contains a command line DNS client and library for DNS query. For now, only some simple records are supported, but adding new records is very simple.

Feel free to make PR or raise an issue as your need!

CLI

$ dnsclient TXT txt.example.huy.im

Library

import dnsclient

let client = newDNSClient()
let resp = client.sendQuery("txt.example.huy.im", TXT)
assert resp.answers[0].kind == TXT
let rr = TXTRecord(resp.answers[0])
assert rr.data == "dnsclient.nim"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].