Skip to content

isaacdonaldson/toy-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
}

About

A toy DNS resolver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages