Name resolution works with host but fails otherwise












0















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 172.217.12.174
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
nameserver 8.8.8.8
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 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=122 time=18.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=122 time=17.7 ms









share|improve this question





























    0















    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 172.217.12.174
    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
    nameserver 8.8.8.8
    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 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=122 time=18.6 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=122 time=17.7 ms









    share|improve this question



























      0












      0








      0








      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 172.217.12.174
      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
      nameserver 8.8.8.8
      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 8.8.8.8
      PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
      64 bytes from 8.8.8.8: icmp_seq=1 ttl=122 time=18.6 ms
      64 bytes from 8.8.8.8: icmp_seq=2 ttl=122 time=17.7 ms









      share|improve this question
















      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 172.217.12.174
      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
      nameserver 8.8.8.8
      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 8.8.8.8
      PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
      64 bytes from 8.8.8.8: icmp_seq=1 ttl=122 time=18.6 ms
      64 bytes from 8.8.8.8: icmp_seq=2 ttl=122 time=17.7 ms






      networking dns windows-subsystem-for-linux resolv.conf






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 28 '18 at 19:49









      dessert

      22.4k56198




      22.4k56198










      asked Dec 28 '18 at 19:47









      PrestonPreston

      1012




      1012






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105201%2fname-resolution-works-with-host-but-fails-otherwise%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            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.






            share|improve this answer




























              0














              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.






              share|improve this answer


























                0












                0








                0







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 8 at 21:19









                PrestonPreston

                1012




                1012






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105201%2fname-resolution-works-with-host-but-fails-otherwise%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Quarter-circle Tiles

                    build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                    Mont Emei