DNS issues only on Ubuntu - but not on my iPad











up vote
1
down vote

favorite












I can load any website on my iPad and it's instantaneous. On my new Ubuntu 18.04 laptop it takes 5-10 seconds to initially load any new website. Subsequent loads of the same website are instantaneous on Ubuntu. I can watch full HD YouTube with no issue and my connection is fast.



From Googleing I take it this is some type of DNS issue? But why isn't this issue happening on my iPad? And how do I fix this?



I can't use Ubuntu if all new websites take 5-10 seconds to load. Thanks










share|improve this question




















  • 1




    Edit your question to show me the output of host-v www.ebay.com and cat /etc/resolv.conf, and systemd-resolve --status and ps auxc | grep -i dns and ps auxc | grep -i resolv. Report back to @heynnema
    – heynnema
    Dec 2 at 3:23












  • @heynnema hope the info I added helps
    – stackinator
    Dec 2 at 3:53






  • 2




    See bug bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320 Possible easy fix it to change the /etc/resolv.conf link to /run/systemd/resolve/resolv.conf (from the stub-resolv.conf). That probably uses the router for the nameserver.
    – ubfan1
    Dec 2 at 5:55






  • 1




    Edit your question to show me ls -al /etc/resolv.conf and cat /run/systemd/resolve/resolv.conf and cat /run/systemd/resolve/stub-resolv.conf.
    – heynnema
    Dec 2 at 16:49








  • 1




    If that workaround works for you, stick with it for now :-) There's a place in resolved.conf (DNS=) where the IP of the DNS server should go...
    – heynnema
    Dec 2 at 18:07















up vote
1
down vote

favorite












I can load any website on my iPad and it's instantaneous. On my new Ubuntu 18.04 laptop it takes 5-10 seconds to initially load any new website. Subsequent loads of the same website are instantaneous on Ubuntu. I can watch full HD YouTube with no issue and my connection is fast.



From Googleing I take it this is some type of DNS issue? But why isn't this issue happening on my iPad? And how do I fix this?



I can't use Ubuntu if all new websites take 5-10 seconds to load. Thanks










share|improve this question




















  • 1




    Edit your question to show me the output of host-v www.ebay.com and cat /etc/resolv.conf, and systemd-resolve --status and ps auxc | grep -i dns and ps auxc | grep -i resolv. Report back to @heynnema
    – heynnema
    Dec 2 at 3:23












  • @heynnema hope the info I added helps
    – stackinator
    Dec 2 at 3:53






  • 2




    See bug bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320 Possible easy fix it to change the /etc/resolv.conf link to /run/systemd/resolve/resolv.conf (from the stub-resolv.conf). That probably uses the router for the nameserver.
    – ubfan1
    Dec 2 at 5:55






  • 1




    Edit your question to show me ls -al /etc/resolv.conf and cat /run/systemd/resolve/resolv.conf and cat /run/systemd/resolve/stub-resolv.conf.
    – heynnema
    Dec 2 at 16:49








  • 1




    If that workaround works for you, stick with it for now :-) There's a place in resolved.conf (DNS=) where the IP of the DNS server should go...
    – heynnema
    Dec 2 at 18:07













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I can load any website on my iPad and it's instantaneous. On my new Ubuntu 18.04 laptop it takes 5-10 seconds to initially load any new website. Subsequent loads of the same website are instantaneous on Ubuntu. I can watch full HD YouTube with no issue and my connection is fast.



From Googleing I take it this is some type of DNS issue? But why isn't this issue happening on my iPad? And how do I fix this?



I can't use Ubuntu if all new websites take 5-10 seconds to load. Thanks










share|improve this question















I can load any website on my iPad and it's instantaneous. On my new Ubuntu 18.04 laptop it takes 5-10 seconds to initially load any new website. Subsequent loads of the same website are instantaneous on Ubuntu. I can watch full HD YouTube with no issue and my connection is fast.



From Googleing I take it this is some type of DNS issue? But why isn't this issue happening on my iPad? And how do I fix this?



I can't use Ubuntu if all new websites take 5-10 seconds to load. Thanks







networking network-manager dns






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 15:24

























asked Dec 1 at 22:18









stackinator

469214




469214








  • 1




    Edit your question to show me the output of host-v www.ebay.com and cat /etc/resolv.conf, and systemd-resolve --status and ps auxc | grep -i dns and ps auxc | grep -i resolv. Report back to @heynnema
    – heynnema
    Dec 2 at 3:23












  • @heynnema hope the info I added helps
    – stackinator
    Dec 2 at 3:53






  • 2




    See bug bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320 Possible easy fix it to change the /etc/resolv.conf link to /run/systemd/resolve/resolv.conf (from the stub-resolv.conf). That probably uses the router for the nameserver.
    – ubfan1
    Dec 2 at 5:55






  • 1




    Edit your question to show me ls -al /etc/resolv.conf and cat /run/systemd/resolve/resolv.conf and cat /run/systemd/resolve/stub-resolv.conf.
    – heynnema
    Dec 2 at 16:49








  • 1




    If that workaround works for you, stick with it for now :-) There's a place in resolved.conf (DNS=) where the IP of the DNS server should go...
    – heynnema
    Dec 2 at 18:07














  • 1




    Edit your question to show me the output of host-v www.ebay.com and cat /etc/resolv.conf, and systemd-resolve --status and ps auxc | grep -i dns and ps auxc | grep -i resolv. Report back to @heynnema
    – heynnema
    Dec 2 at 3:23












  • @heynnema hope the info I added helps
    – stackinator
    Dec 2 at 3:53






  • 2




    See bug bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320 Possible easy fix it to change the /etc/resolv.conf link to /run/systemd/resolve/resolv.conf (from the stub-resolv.conf). That probably uses the router for the nameserver.
    – ubfan1
    Dec 2 at 5:55






  • 1




    Edit your question to show me ls -al /etc/resolv.conf and cat /run/systemd/resolve/resolv.conf and cat /run/systemd/resolve/stub-resolv.conf.
    – heynnema
    Dec 2 at 16:49








  • 1




    If that workaround works for you, stick with it for now :-) There's a place in resolved.conf (DNS=) where the IP of the DNS server should go...
    – heynnema
    Dec 2 at 18:07








1




1




Edit your question to show me the output of host-v www.ebay.com and cat /etc/resolv.conf, and systemd-resolve --status and ps auxc | grep -i dns and ps auxc | grep -i resolv. Report back to @heynnema
– heynnema
Dec 2 at 3:23






Edit your question to show me the output of host-v www.ebay.com and cat /etc/resolv.conf, and systemd-resolve --status and ps auxc | grep -i dns and ps auxc | grep -i resolv. Report back to @heynnema
– heynnema
Dec 2 at 3:23














@heynnema hope the info I added helps
– stackinator
Dec 2 at 3:53




@heynnema hope the info I added helps
– stackinator
Dec 2 at 3:53




2




2




See bug bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320 Possible easy fix it to change the /etc/resolv.conf link to /run/systemd/resolve/resolv.conf (from the stub-resolv.conf). That probably uses the router for the nameserver.
– ubfan1
Dec 2 at 5:55




See bug bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320 Possible easy fix it to change the /etc/resolv.conf link to /run/systemd/resolve/resolv.conf (from the stub-resolv.conf). That probably uses the router for the nameserver.
– ubfan1
Dec 2 at 5:55




1




1




Edit your question to show me ls -al /etc/resolv.conf and cat /run/systemd/resolve/resolv.conf and cat /run/systemd/resolve/stub-resolv.conf.
– heynnema
Dec 2 at 16:49






Edit your question to show me ls -al /etc/resolv.conf and cat /run/systemd/resolve/resolv.conf and cat /run/systemd/resolve/stub-resolv.conf.
– heynnema
Dec 2 at 16:49






1




1




If that workaround works for you, stick with it for now :-) There's a place in resolved.conf (DNS=) where the IP of the DNS server should go...
– heynnema
Dec 2 at 18:07




If that workaround works for you, stick with it for now :-) There's a place in resolved.conf (DNS=) where the IP of the DNS server should go...
– heynnema
Dec 2 at 18:07










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I think this bug is the problem. And solution #38 is the answer. Thanks to @ubfan1



sudo rm -f /etc/resolv.conf
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo nano /etc/systemd/resolved.conf
# then added the google nameservers to my file, adding this line.
nameserver 8.8.8.8





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: 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%2f1097770%2fdns-issues-only-on-ubuntu-but-not-on-my-ipad%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








    up vote
    0
    down vote













    I think this bug is the problem. And solution #38 is the answer. Thanks to @ubfan1



    sudo rm -f /etc/resolv.conf
    sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
    sudo nano /etc/systemd/resolved.conf
    # then added the google nameservers to my file, adding this line.
    nameserver 8.8.8.8





    share|improve this answer



























      up vote
      0
      down vote













      I think this bug is the problem. And solution #38 is the answer. Thanks to @ubfan1



      sudo rm -f /etc/resolv.conf
      sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
      sudo nano /etc/systemd/resolved.conf
      # then added the google nameservers to my file, adding this line.
      nameserver 8.8.8.8





      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        I think this bug is the problem. And solution #38 is the answer. Thanks to @ubfan1



        sudo rm -f /etc/resolv.conf
        sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
        sudo nano /etc/systemd/resolved.conf
        # then added the google nameservers to my file, adding this line.
        nameserver 8.8.8.8





        share|improve this answer














        I think this bug is the problem. And solution #38 is the answer. Thanks to @ubfan1



        sudo rm -f /etc/resolv.conf
        sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
        sudo nano /etc/systemd/resolved.conf
        # then added the google nameservers to my file, adding this line.
        nameserver 8.8.8.8






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 3 at 15:50

























        answered Dec 3 at 15:22









        stackinator

        469214




        469214






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f1097770%2fdns-issues-only-on-ubuntu-but-not-on-my-ipad%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

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei