Domain lookups, using mDNS
Added DomainLookup* to the Zone interface
This commit is contained in:
1 parent
da2d66a6df
commit
ea808bd08b
2 files changed
+132
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user