sandbox_dns_windows.go 566 B

1234567891011121314151617181920212223242526272829303132333435
  1. // +build windows
  2. package libnetwork
  3. import (
  4. "github.com/docker/libnetwork/etchosts"
  5. )
  6. // Stub implementations for DNS related functions
  7. func (sb *sandbox) startResolver(bool) {
  8. }
  9. func (sb *sandbox) setupResolutionFiles() error {
  10. return nil
  11. }
  12. func (sb *sandbox) restorePath() {
  13. }
  14. func (sb *sandbox) updateHostsFile(ifaceIP string) error {
  15. return nil
  16. }
  17. func (sb *sandbox) addHostsEntries(recs []etchosts.Record) {
  18. }
  19. func (sb *sandbox) deleteHostsEntries(recs []etchosts.Record) {
  20. }
  21. func (sb *sandbox) updateDNS(ipv6Enabled bool) error {
  22. return nil
  23. }