Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 291 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 291 Bytes

toy-dns

toy-dns is a toy dns resolver written to help familiarize me with Go and with DNS resolution.

It is used as follows:

package main

import "fmt"

func main() {
	domain := "shopify.com"
	ip := resolve(domain, TYPE_A)
	fmt.Printf("IP address for '%s': %s\n", domain, ip)
}