Domain lookups, using mDNS

Added DomainLookup* to the Zone interface
This commit is contained in:
Alvaro Saurin committed 2015-05-26 21:14:09 +02:00
1 parent da2d66a6df
commit ea808bd08b
2 files changed
+132

No files matched your search

+4
View File
@@ -48,6 +48,10 @@ type Zone interface {
DeleteRecord(ident string, ip net.IP) error
// Delete all records for an ident in the local database
DeleteRecordsFor(ident string) error
// Lookup for a name in the whole domain
DomainLookupName(name string) ([]ZoneRecord, error)
// Lookup for an address in the whole domain
DomainLookupInaddr(inaddr string) ([]ZoneRecord, error)
// Return a status string
Status() string
}