Domain lookups, using mDNS

Added DomainLookup* to the Zone interface
This commit is contained in:
Alvaro Saurin committed 2015-05-26 10:53:12 +02:00
1 parent 8a509168ee
commit a2dad42ef6
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
}