Make dns to sustain after reboot

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Due to some unknown error (supposedly after messing with update links), I was getting Temporary failure resolving 'packages.microsoft.com' while using internet without proxy (no problem with proxy set up). So I came up with this solution, which I don't understand completely but it works like a charm. I am using Kubuntu-plasma.



In the solution of the link, it says:




If this fixes your temporary resolving messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:
echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null




to make the setting sustain after restart.



But on doing so, it says the file does not exist: tee: /etc/resolvconf/resolv.conf.d/base: No such file or directory

Do I need to create such file? Asking this before messing up with the system files to be on the safer side this time. I do not understand this very much and have no idea what to do? Would be very grateful if someone can help!










share|improve this question

























    up vote
    1
    down vote

    favorite












    Due to some unknown error (supposedly after messing with update links), I was getting Temporary failure resolving 'packages.microsoft.com' while using internet without proxy (no problem with proxy set up). So I came up with this solution, which I don't understand completely but it works like a charm. I am using Kubuntu-plasma.



    In the solution of the link, it says:




    If this fixes your temporary resolving messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:
    echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null




    to make the setting sustain after restart.



    But on doing so, it says the file does not exist: tee: /etc/resolvconf/resolv.conf.d/base: No such file or directory

    Do I need to create such file? Asking this before messing up with the system files to be on the safer side this time. I do not understand this very much and have no idea what to do? Would be very grateful if someone can help!










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Due to some unknown error (supposedly after messing with update links), I was getting Temporary failure resolving 'packages.microsoft.com' while using internet without proxy (no problem with proxy set up). So I came up with this solution, which I don't understand completely but it works like a charm. I am using Kubuntu-plasma.



      In the solution of the link, it says:




      If this fixes your temporary resolving messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:
      echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null




      to make the setting sustain after restart.



      But on doing so, it says the file does not exist: tee: /etc/resolvconf/resolv.conf.d/base: No such file or directory

      Do I need to create such file? Asking this before messing up with the system files to be on the safer side this time. I do not understand this very much and have no idea what to do? Would be very grateful if someone can help!










      share|improve this question













      Due to some unknown error (supposedly after messing with update links), I was getting Temporary failure resolving 'packages.microsoft.com' while using internet without proxy (no problem with proxy set up). So I came up with this solution, which I don't understand completely but it works like a charm. I am using Kubuntu-plasma.



      In the solution of the link, it says:




      If this fixes your temporary resolving messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:
      echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null




      to make the setting sustain after restart.



      But on doing so, it says the file does not exist: tee: /etc/resolvconf/resolv.conf.d/base: No such file or directory

      Do I need to create such file? Asking this before messing up with the system files to be on the safer side this time. I do not understand this very much and have no idea what to do? Would be very grateful if someone can help!







      networking kubuntu dns






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 6 at 20:24









      subtleseeker

      11514




      11514




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          It seems to first install resolvconf to make the settings permanent.
          The mentioned file is created by this package.



          sudo apt install resolvconf


          fixed the problem.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1003670%2fmake-dns-to-sustain-after-reboot%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            It seems to first install resolvconf to make the settings permanent.
            The mentioned file is created by this package.



            sudo apt install resolvconf


            fixed the problem.






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              It seems to first install resolvconf to make the settings permanent.
              The mentioned file is created by this package.



              sudo apt install resolvconf


              fixed the problem.






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                It seems to first install resolvconf to make the settings permanent.
                The mentioned file is created by this package.



                sudo apt install resolvconf


                fixed the problem.






                share|improve this answer












                It seems to first install resolvconf to make the settings permanent.
                The mentioned file is created by this package.



                sudo apt install resolvconf


                fixed the problem.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 17 at 17:28









                subtleseeker

                11514




                11514



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003670%2fmake-dns-to-sustain-after-reboot%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Unable to upgrade pip

                    Cutting all the characters after the last /