forked from extern/smegmesh
19 lines
222 B
Go
19 lines
222 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
smegdns "github.com/tim-beatham/smegmesh/pkg/dns"
|
|
)
|
|
|
|
func main() {
|
|
server, err := smegdns.NewDns(53)
|
|
|
|
if err != nil {
|
|
log.Fatal(err.Error())
|
|
}
|
|
|
|
defer server.Close()
|
|
server.Listen()
|
|
}
|