Skip to content

EricFalkenberg/rust-dns-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust DNS Resolver Rust Code Analysis

A toy DNS resolver built while following the instruction of this guide.

Warning

This is a toy resolver and should not be used in any official capacity.

Usage:
dns-resolver <url>

Output Example

The following shows the output when we attempt to resolve the IP address of www.twitter.com.

Querying 198.41.0.4 for www.twitter.com
Querying 192.12.94.30 for www.twitter.com
Querying 192.12.94.30 for a.r06.twtrdns.net
Querying 192.12.94.30 for ns-370.awsdns-46.com
Querying 205.251.192.47 for ns-370.awsdns-46.com
Querying 205.251.193.114 for a.r06.twtrdns.net
Querying 205.251.192.179 for www.twitter.com

NAME			TTL	CLASS	TYPE	DATA
www.twitter.com		600	IN	CNAME	twitter.com
twitter.com		1800	IN	A	104.244.42.193

Releases

No releases published

Packages

No packages published

Languages