ugly lookup stuff

This commit is contained in:
Miek Gieben 2012-06-05 22:19:21 +02:00
parent 6930a3a307
commit 826ae93ccb
1 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,14 @@ import (
"time"
)
// Nxdomain, Secure, Bogus
type SecurityStatus int
const (
SECURE SecurityStatus = iota
INSECURE
BOGUS
INDETERMINATE
)
// Lookup does a (secure) DNS lookup. The message m contains
// the question to be asked. Lookup returns last packet seen