18.04 - DNS is not working using Wi-Fi












0















I installed Ubuntu 18.04 since almost 1 month and I'm experiencing following problems since always.



All my packages are updated, currently on 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.



Airplane mode on start



The first "problem" is that every time the PC starts, the "Airplane mode" is active and therefore Wi-Fi is switched off. Then I have to switch it on manually to let it connect. I also noticed in Settings->Power that I must keep Wi-Fi setting to ON because as soon as I set it to OFF, airplane mode is activated. But actually its description says Turn off Wi-Fi to save power and since I don't want to turn Wi-Fi off to save power, I thought I had to switch it OFF, but then I can't use Wi-Fi at all.



Settings->Power->Wi-Fi





DNS is not working using Wi-Fi



While the first problem is not so serious, this one is really annoying. Basically DNS doesn't work at all when I'm connected through Wi-Fi and therefore I can't resolve any hostname. No problems using ethernet connection. So I tried to configure DNS manually on Wi-Fi connection settings, but still it's unable to resolve any hostname. The only thing that works is adding new nameserver directives to /etc/resolv.conf. However they are removed each time the computer is restarted.



Wi-Fi connection settings





I know that version 18.04 is still beta, but it should be released tomorrow 26.04.2018 as stated on ubuntu wiki and for me it doesn't seem really ready.



Does anybody have a solution at least for DNS problem?










share|improve this question























  • If you think it's not ready then please write bug reports.

    – Sebastian Stark
    Apr 25 '18 at 10:00






  • 1





    See this bug report for more info: bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/…

    – Nathan
    Nov 25 '18 at 16:20
















0















I installed Ubuntu 18.04 since almost 1 month and I'm experiencing following problems since always.



All my packages are updated, currently on 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.



Airplane mode on start



The first "problem" is that every time the PC starts, the "Airplane mode" is active and therefore Wi-Fi is switched off. Then I have to switch it on manually to let it connect. I also noticed in Settings->Power that I must keep Wi-Fi setting to ON because as soon as I set it to OFF, airplane mode is activated. But actually its description says Turn off Wi-Fi to save power and since I don't want to turn Wi-Fi off to save power, I thought I had to switch it OFF, but then I can't use Wi-Fi at all.



Settings->Power->Wi-Fi





DNS is not working using Wi-Fi



While the first problem is not so serious, this one is really annoying. Basically DNS doesn't work at all when I'm connected through Wi-Fi and therefore I can't resolve any hostname. No problems using ethernet connection. So I tried to configure DNS manually on Wi-Fi connection settings, but still it's unable to resolve any hostname. The only thing that works is adding new nameserver directives to /etc/resolv.conf. However they are removed each time the computer is restarted.



Wi-Fi connection settings





I know that version 18.04 is still beta, but it should be released tomorrow 26.04.2018 as stated on ubuntu wiki and for me it doesn't seem really ready.



Does anybody have a solution at least for DNS problem?










share|improve this question























  • If you think it's not ready then please write bug reports.

    – Sebastian Stark
    Apr 25 '18 at 10:00






  • 1





    See this bug report for more info: bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/…

    – Nathan
    Nov 25 '18 at 16:20














0












0








0


1






I installed Ubuntu 18.04 since almost 1 month and I'm experiencing following problems since always.



All my packages are updated, currently on 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.



Airplane mode on start



The first "problem" is that every time the PC starts, the "Airplane mode" is active and therefore Wi-Fi is switched off. Then I have to switch it on manually to let it connect. I also noticed in Settings->Power that I must keep Wi-Fi setting to ON because as soon as I set it to OFF, airplane mode is activated. But actually its description says Turn off Wi-Fi to save power and since I don't want to turn Wi-Fi off to save power, I thought I had to switch it OFF, but then I can't use Wi-Fi at all.



Settings->Power->Wi-Fi





DNS is not working using Wi-Fi



While the first problem is not so serious, this one is really annoying. Basically DNS doesn't work at all when I'm connected through Wi-Fi and therefore I can't resolve any hostname. No problems using ethernet connection. So I tried to configure DNS manually on Wi-Fi connection settings, but still it's unable to resolve any hostname. The only thing that works is adding new nameserver directives to /etc/resolv.conf. However they are removed each time the computer is restarted.



Wi-Fi connection settings





I know that version 18.04 is still beta, but it should be released tomorrow 26.04.2018 as stated on ubuntu wiki and for me it doesn't seem really ready.



Does anybody have a solution at least for DNS problem?










share|improve this question














I installed Ubuntu 18.04 since almost 1 month and I'm experiencing following problems since always.



All my packages are updated, currently on 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.



Airplane mode on start



The first "problem" is that every time the PC starts, the "Airplane mode" is active and therefore Wi-Fi is switched off. Then I have to switch it on manually to let it connect. I also noticed in Settings->Power that I must keep Wi-Fi setting to ON because as soon as I set it to OFF, airplane mode is activated. But actually its description says Turn off Wi-Fi to save power and since I don't want to turn Wi-Fi off to save power, I thought I had to switch it OFF, but then I can't use Wi-Fi at all.



Settings->Power->Wi-Fi





DNS is not working using Wi-Fi



While the first problem is not so serious, this one is really annoying. Basically DNS doesn't work at all when I'm connected through Wi-Fi and therefore I can't resolve any hostname. No problems using ethernet connection. So I tried to configure DNS manually on Wi-Fi connection settings, but still it's unable to resolve any hostname. The only thing that works is adding new nameserver directives to /etc/resolv.conf. However they are removed each time the computer is restarted.



Wi-Fi connection settings





I know that version 18.04 is still beta, but it should be released tomorrow 26.04.2018 as stated on ubuntu wiki and for me it doesn't seem really ready.



Does anybody have a solution at least for DNS problem?







networking wireless dns






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 25 '18 at 9:54









DrKeyDrKey

1063




1063













  • If you think it's not ready then please write bug reports.

    – Sebastian Stark
    Apr 25 '18 at 10:00






  • 1





    See this bug report for more info: bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/…

    – Nathan
    Nov 25 '18 at 16:20



















  • If you think it's not ready then please write bug reports.

    – Sebastian Stark
    Apr 25 '18 at 10:00






  • 1





    See this bug report for more info: bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/…

    – Nathan
    Nov 25 '18 at 16:20

















If you think it's not ready then please write bug reports.

– Sebastian Stark
Apr 25 '18 at 10:00





If you think it's not ready then please write bug reports.

– Sebastian Stark
Apr 25 '18 at 10:00




1




1





See this bug report for more info: bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/…

– Nathan
Nov 25 '18 at 16:20





See this bug report for more info: bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/…

– Nathan
Nov 25 '18 at 16:20










1 Answer
1






active

oldest

votes


















0














This is a temporary DNS fix if you have DNS issues



sudo echo nameserver 8.8.8.8 > /etc/resolv.conf



What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf" do?





share








New contributor




Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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%2f1028052%2f18-04-dns-is-not-working-using-wi-fi%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 a temporary DNS fix if you have DNS issues



    sudo echo nameserver 8.8.8.8 > /etc/resolv.conf



    What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf" do?





    share








    New contributor




    Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      This is a temporary DNS fix if you have DNS issues



      sudo echo nameserver 8.8.8.8 > /etc/resolv.conf



      What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf" do?





      share








      New contributor




      Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        This is a temporary DNS fix if you have DNS issues



        sudo echo nameserver 8.8.8.8 > /etc/resolv.conf



        What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf" do?





        share








        New contributor




        Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        This is a temporary DNS fix if you have DNS issues



        sudo echo nameserver 8.8.8.8 > /etc/resolv.conf



        What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf" do?






        share








        New contributor




        Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 5 mins ago









        Vijay RumaoVijay Rumao

        1




        1




        New contributor




        Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Vijay Rumao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f1028052%2f18-04-dns-is-not-working-using-wi-fi%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

            GameSpot

            connect to host localhost port 22: Connection refused

            Getting a Wifi WPA2 wifi connection