All Projects → mxssl → dns

mxssl / dns

Licence: Apache-2.0 License
dns is a simple CLI tool for DNS-LG API

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to dns

Massdns
A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
Stars: ✭ 2,093 (+7375%)
Mutual labels:  dns, dns-client
Trust Dns
A Rust based DNS client, server, and resolver
Stars: ✭ 2,155 (+7596.43%)
Mutual labels:  dns, dns-client
nodejs-searchitunes
Lightweight node.js module to quickly search Apple's iTunes Store for music, movies, apps, etc.
Stars: ✭ 25 (-10.71%)
Mutual labels:  api-client
MicroDNSSrv
A micro DNS server for MicroPython to simply respond to A queries on multi-domains with or without wildcards (used on Pycom modules & ESP32)
Stars: ✭ 43 (+53.57%)
Mutual labels:  dns
dist-detect
Try to determine what Linux/Unix distribution is running on a remote host and get a hint if security updates are applied.
Stars: ✭ 14 (-50%)
Mutual labels:  dns
dnsfwd
DNS forwarder over a (TCP) virtual circuit
Stars: ✭ 21 (-25%)
Mutual labels:  dns
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 8,395 (+29882.14%)
Mutual labels:  dns
fetch
Isomorphic Wordpress API client and React hooks - super tiny, super fast.
Stars: ✭ 47 (+67.86%)
Mutual labels:  api-client
CompaniesHouse.NET
A simple .NET client wrapper for CompaniesHouse API
Stars: ✭ 28 (+0%)
Mutual labels:  api-client
mite-cli
command line interface for time tracking service mite.yo.lk
Stars: ✭ 17 (-39.29%)
Mutual labels:  api-client
desec-ns
Frontend nameserver for deSEC, implemented as docker-compose application
Stars: ✭ 22 (-21.43%)
Mutual labels:  dns
no-ip
Noip.com Dynamic DNS update client built in Node.js
Stars: ✭ 33 (+17.86%)
Mutual labels:  dns
Taviloglu.Wrike.ApiClient
.NET Client for Wrike API
Stars: ✭ 24 (-14.29%)
Mutual labels:  api-client
route53-dynamic-dns
Update AWS Route53 hosted zone with current public IP address. Alternative to Dynamic DNS services such as Dyn, No-IP, etc
Stars: ✭ 29 (+3.57%)
Mutual labels:  dns
dns
DNS client & server package for Go
Stars: ✭ 38 (+35.71%)
Mutual labels:  dns
cfdns
Command line tool for manipulating DNS of CloudFlare hosted domains
Stars: ✭ 20 (-28.57%)
Mutual labels:  dns
dnspod-api-php-web
DNSPod API PHP Web Example
Stars: ✭ 88 (+214.29%)
Mutual labels:  dns
ynab.go
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.
Stars: ✭ 49 (+75%)
Mutual labels:  api-client
nzb
Get Things Done® with nzb, a beautiful terminal interface for Nozbe. Inspired by Wunderline
Stars: ✭ 35 (+25%)
Mutual labels:  api-client
downcloud
Download your own Soundcloud tracks (uncompressed)
Stars: ✭ 22 (-21.43%)
Mutual labels:  api-client

dns

dns is a simple CLI tool for DNS-LG API

drawing

Install

Download compiled binary

Linux

Windows

MacOS

Examples

Linux:

wget https://github.com/mxssl/dns/releases/download/1.0.0/dns_Linux_x86_64.tar.gz
tar zvxf dns_Linux_x86_64.tar.gz
cp dns /usr/local/bin/dns
chmod +x /usr/local/bin/dns

MacOS

wget https://github.com/mxssl/dns/releases/download/1.0.0/dns_Darwin_x86_64.tar.gz
tar zvxf dns_Darwin_x86_64.tar.gz
cp dns /usr/local/bin/dns
chmod +x /usr/local/bin/dns

Usage

dns is a CLI for DNS-LG API.

Usage:
  dns [command]

Available Commands:
  a           Get Host Address (A records)
  aaaa        Get IPv6 Host Address (AAAA records)
  cert        Get Certificate (CERT records)
  cname       Get Canonical Name (CNAME records)
  dhcid       Get DHCP Identifier (DHCID records)
  dlv         Get DNSSEC Lookaside Validation record (DLV records)
  dname       Get Delegation name (DNAME records)
  dnskey      Get DNS Key record (DNSKEY records)
  ds          Get Delegation Signer (DS records)
  help        Help about any command
  hinfo       Get Host Information (HINFO records)
  hip         Get Host Identity Protocol (HIP records)
  ipseckey    Get IPSec Key (IPSECKEY records)
  kx          Get Key eXchanger record (KX records)
  loc         Get Location record (LOC records)
  mx          Get Mail Exchange record (MX records)
  naptr       Get Name Authority Pointer (NAPTR records)
  ns          Get Name Servers (NS records)
  nsec        Get Next-Secure record (NSEC records)
  nsec3       Get NSEC record version 3 (NSEC3 records)
  nsec3param  Get NSEC3 parameters (NSEC3PARAM records)
  opt         Get Option record (OPT records)
  ptr         Get Pointer record (PTR records)
  rptr4       Get reverse (PTR) record from IPv4 addresses
  rptr6       Get reverse (PTR) record from IPv4 addresses
  rrsig       Get Resource Records Signature (RRSIG records)
  soa         Get Start of Authority (SOA record)
  spf         Get Sender Policy Framework (SPF records)
  srv         Get Service Locator (SRV records)
  sshfp       Get SSH Public Key Fingerprint (SSHFP records)
  ta          Get DNSSEC Trust Authorities (TA records)
  talink      Get Trust Anchor LINK (TALINK records)
  tlsa        Get TLSA records
  txt         Get Text record (TXT records)

Flags:
  -h, --help              help for dns
      --raw               Raw output without color
  -r, --resolver string   Choice dns resolver (default "google1")

Use "dns [command] --help" for more information about a command

Example

dns a golang.com
{
    "question": [
        {
            "name": "golang.com.",
            "type": "A",
            "class": "IN"
        }
    ],
    "answer": [
        {
            "name": "golang.com.",
            "type": "A",
            "class": "IN",
            "ttl": 299,
            "rdlength": 4,
            "rdata": "216.58.198.81"
        }
    ]
}

Resolver

google1 is used by default

You can use these resolvers:

Name IP
cloudflare 1.1.1.1
google1 8.8.8.8
google2 8.8.4.4
he 74.82.42.42
opendns1 208.67.222.222
opendns2 208.67.220.220
quad9 9.9.9.9
dns -r cloudflare a golang.com
{
    "question": [
        {
            "name": "golang.com.",
            "type": "A",
            "class": "IN"
        }
    ],
    "answer": [
        {
            "name": "golang.com.",
            "type": "A",
            "class": "IN",
            "ttl": 47,
            "rdlength": 4,
            "rdata": "172.217.168.49"
        }
    ]
}

Docker

docker container \
  run \
  --rm \
  mxssl/dns:1.0.0 \
  dns a golang.com

Development

Mage is used as an alternative to make.

mage -l
Targets:
  build                  the app
  clean                  delete compiled binary
  dockerBuild            build container with latest tag
  dockerRelease          build and push container to the registry
  dockerTestRun          test run latest container
  gitHubRelease          run goreleaser
  gitHubReleaseDryRun    goreleaser dry run
  lint                   the app
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].