2023-06-12 14:43:55 +02:00
|
|
|
package dns
|
|
|
|
|
2024-01-30 09:58:56 +01:00
|
|
|
import "net/netip"
|
|
|
|
|
2023-06-12 14:43:55 +02:00
|
|
|
type androidHostManager struct {
|
|
|
|
}
|
|
|
|
|
2024-01-30 09:58:56 +01:00
|
|
|
func newHostManager() (hostManager, error) {
|
2023-06-12 14:43:55 +02:00
|
|
|
return &androidHostManager{}, nil
|
|
|
|
}
|
|
|
|
|
2023-12-18 11:46:58 +01:00
|
|
|
func (a androidHostManager) applyDNSConfig(config HostDNSConfig) error {
|
2023-06-12 14:43:55 +02:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (a androidHostManager) restoreHostDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (a androidHostManager) supportCustomPort() bool {
|
|
|
|
return false
|
|
|
|
}
|
2024-01-30 09:58:56 +01:00
|
|
|
|
|
|
|
func (a androidHostManager) restoreUncleanShutdownDNS(*netip.Addr) error {
|
|
|
|
return nil
|
|
|
|
}
|