Skip to content

dorin131/dns-query

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

DNS request tool

A simple CLI tool to resolve domain names to its IPs

By default it will use Cloudflare's 1.1.1.1

Disclaimer: Built for educational purposes and for fun

Build

./compile.sh

Usage

./dns ycombinator.com
DNS Server: 1.1.1.1

- Query
Name: ycombinator.com
Answers RRs: 4
Authority RRs: 0
Additional RRs: 0

- Answer(1)
Type: 1
Class: 1
TTL: 60
Data length: 4
Address: 99.86.109.24


- Answer(2)
Type: 1
Class: 1
TTL: 60
Data length: 4
Address: 99.86.109.94


- Answer(3)
Type: 1
Class: 1
TTL: 60
Data length: 4
Address: 99.86.109.39


- Answer(4)
Type: 1
Class: 1
TTL: 60
Data length: 4
Address: 99.86.109.58 

About

DNS query tool

Topics

Resources

License

Stars

Watchers

Forks