Skip to content

Ghvstcode/DNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes

  • The aim of this project was to gain more practical knowledge on the inner workings of the Domain Name System — I wanted to refresh the knowledge I have of the DNS protocol and understand some new concepts relating to DNS.
  • The first step in this journey was reading the RFC. It is relatively easy to read and contains diagrams which can help one think about some of the various DNS constructs.
  • I intended for this to be a full on DNS server similar to this but unfortunately, I had to stop at this point.
  • At this point, This project simply accepts a response packet that looks like this
00000000  a2 7e 81 80 00 01 00 01  00 00 00 00 06 67 6f 6f  |.~...........goo|
00000010  67 6c 65 03 63 6f 6d 00  00 01 00 01 c0 0c 00 01  |gle.com.........|
00000020  00 01 00 00 00 61 00 04  d8 3a df ce              |.....a...:..|
0000002c

& it parses it to look give the following JSON encoded response. raycast-untitled

  • While writting this I spent a lot of time perusing this awesome package. You should definietly take a look if youre doing any DNS related work in Go.
  • This project is still actively in progress

About

DNS FROM SCRATCH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages