go get github.com/wisdommatt/firedns
- Go 1.9
- Import the package
firedns "github.com/wisdommatt/firedns"
- Run the program
go run dns.go
- On the terminal run
dig meghee.com @localhost -p8090
The application runs only on port 8090.
The only supported domains are meghee.com and timiun.com
Checking for an unsupported domain will return an IP of 129.0.1.9