Skip to content
/ ipfndr Public

basic from scratch implementation of dns resolving to find IP address of a given domain

Notifications You must be signed in to change notification settings

sadn1ck/ipfndr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipfndr

simple implementation of dns resolving, following Julia Evan's tutorial

given a domain, finds the IP address of the domain using dns resolution. the dns resolution is written from scratch, and is slightly hacky.

starting at a root server, it does recursive dns resolving, till an IP address is resolved.

sample run of ipfndr

using

# clone this repo

go run .

# enter name

todo (sometime™, contribs welcome)

general

  • Add support for other record types
  • CLI with flags to query specific types
  • Better (nonexistent) error handling
  • the dns domain compression/decompression doesn't check for pointer loops
  • caching? lmao

About

basic from scratch implementation of dns resolving to find IP address of a given domain

Resources

Stars

Watchers

Forks

Languages