2021-08-23 15:14:53 +02:00
|
|
|
//go:build windows
|
2016-01-29 17:08:11 -08:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package libnetwork
|
|
|
|
|
|
|
|
import (
|
2021-04-06 00:24:47 +00:00
|
|
|
"github.com/docker/docker/libnetwork/etchosts"
|
2016-01-29 17:08:11 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
// Stub implementations for DNS related functions
|
|
|
|
|
2016-06-09 16:05:11 -07:00
|
|
|
func (sb *sandbox) startResolver(bool) {
|
2016-01-29 17:08:11 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) setupResolutionFiles() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-06-10 17:32:19 -07:00
|
|
|
func (sb *sandbox) restorePath() {
|
|
|
|
}
|
|
|
|
|
2019-08-30 23:22:46 +02:00
|
|
|
func (sb *sandbox) updateHostsFile(ifaceIP []string) error {
|
2016-01-29 17:08:11 -08:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) addHostsEntries(recs []etchosts.Record) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) deleteHostsEntries(recs []etchosts.Record) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) updateDNS(ipv6Enabled bool) error {
|
|
|
|
return nil
|
|
|
|
}
|
2021-05-28 18:53:49 +00:00
|
|
|
|
|
|
|
func (sb *sandbox) setupDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) rebuildDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|