Ubuntu bash on Windows 10

I have an issue where the host and nslookup commands resolve all hosts just fine but all other commands fail domain resolution. See below:

user@computer:/mnt/c/Users/user$ host google.com
 google.com has address
 google.com has IPv6 address 2607:f8b0:4006:81a::200e
 google.com mail is handled by 50 alt4.aspmx.l.google.com.
 google.com mail is handled by 30 alt2.aspmx.l.google.com.
 google.com mail is handled by 40 alt3.aspmx.l.google.com.
 google.com mail is handled by 10 aspmx.l.google.com.
 google.com mail is handled by 20 alt1.aspmx.l.google.com.
user@computer:/mnt/c/Users/user$ ping google.com
 ping: google.com: Temporary failure in name resolution
user@computer:/mnt/c/Users/user$ cat /etc/resolv.conf
 search domain.com
user@computer:/mnt/c/Users/user$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:    Ubuntu 18.04.1 LTS
 Release:        18.04
 Codename:       bionic
user@computer:/mnt/c/Users/user$ ping
 PING ( 56(84) bytes of data.
 64 bytes from icmp_seq=1 ttl=122 time=18.6 ms
 64 bytes from icmp_seq=2 ttl=122 time=17.7 ms

This is an issue where Windows has applied updates to the sub system but a reboot has not occurred. A full reboot (of windows, not Linux Subsystem) solves this.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.