mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-01 20:43:43 +01:00
481465e1ae
Support DNS feature on mobile systems --------- Co-authored-by: Givi Khojanashvili <gigovich@gmail.com>
25 lines
435 B
Go
25 lines
435 B
Go
package dns
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/iface"
|
|
)
|
|
|
|
type androidHostManager struct {
|
|
}
|
|
|
|
func newHostManager(wgInterface *iface.WGIface) (hostManager, error) {
|
|
return &androidHostManager{}, nil
|
|
}
|
|
|
|
func (a androidHostManager) applyDNSConfig(config hostDNSConfig) error {
|
|
return nil
|
|
}
|
|
|
|
func (a androidHostManager) restoreHostDNS() error {
|
|
return nil
|
|
}
|
|
|
|
func (a androidHostManager) supportCustomPort() bool {
|
|
return false
|
|
}
|