dns: Add neighbor-based hostname resolution to local server
This commit is contained in:
@@ -14,6 +14,7 @@ type NeighborEntry struct {
|
||||
type NeighborResolver interface {
|
||||
LookupMAC(address netip.Addr) (net.HardwareAddr, bool)
|
||||
LookupHostname(address netip.Addr) (string, bool)
|
||||
LookupAddresses(hostname string) []netip.Addr
|
||||
Start() error
|
||||
Close() error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user