Do not invoke the mDNS lookups from the server: they are used from the Zone database now...
Improved DNS server: - simplify the handlers code, removing duplicated code - more configuration parameters (eg, we can now disable the cache) - we can now bind to port 0 and let the server get a free port (so we can get rid of the mess we had in the unit tests...)
This commit is contained in:
1 parent
a23462e830
commit
07d15092aa
5 files changed
+231
-181
No files matched your search
@@ -32,6 +32,7 @@ type ZoneObservable interface {
|
||||
ObserveInaddr(inaddr string, observer ZoneRecordObserver) error
|
||||
}
|
||||
|
||||
type ZoneObserverFunc func(string, ZoneRecordObserver) error
|
||||
type ZoneRecordObserver func()
|
||||
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user