Intermittent DNS 'temporarily failure in name resoluiton' on Ubuntu 18.04 Server - how do I debug this?DNS issues - How to debug?Ubuntu forgets custom DNS server after a whileFailover DNS When Primary Can't Resolve?18.04 ignoring DHCP-provided DNS serverConfiguring multiple DNS name servers on 18.04 serverUbuntu - Basic Host Name Resolution 18.04 IssuesUbuntu 18.04 - no DNS query

What is the difference between democracy and ochlocracy?

How to discourage mundane play?

Countering an uncounterable spell, triggers, and state-based actions

Rational Number RNG

Is there any algorithm that runs faster in Mathematica than in C or FORTRAN?

Is Jupiter bright enough to be seen in color by the naked eye from Jupiter orbit?

What are modes in real world?

Use of expression "statistically significantly positive"

Novel about immortality being kept secret by world leaders

Why do turf winterguard (applied late fall) fertilizers have no “P” (phosphorous)?

How are hillsides farmed?

Why is double encryption that's equivalent to single encryption no better than single encryption?

Should I stop applying faculty positions after I take on a postdoc job

Why do some web servers still provide information on vendor and version in the HTTP response headers

Why do Climate activists attack public transport?

Are these 2 resistors in parallel?

Plain Hunt Bell-Ringing

"traversal failed: u: Bad message" when deleting an extremely large directory in Linux

How can I more clearly ask people to accomodate for my autism?

What elements would be created in a star composed entirely of gold?

Parents suppressing the teaching

Why is a Lockheed MC-130J Commando II creating such a loud droning sound?

Does animal blood, esp. human, really have similar salinity as ocean water, and does that prove anything about evolution?

Asimov's story where a man's speech contains no information



Intermittent DNS 'temporarily failure in name resoluiton' on Ubuntu 18.04 Server - how do I debug this?


DNS issues - How to debug?Ubuntu forgets custom DNS server after a whileFailover DNS When Primary Can't Resolve?18.04 ignoring DHCP-provided DNS serverConfiguring multiple DNS name servers on 18.04 serverUbuntu - Basic Host Name Resolution 18.04 IssuesUbuntu 18.04 - no DNS query






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I have multiple Ubuntu 18.04 LTS Server installations on the same vSphere 6.7 host. One runs my DHCP and DNS server and has done so reliably for years, all the way from 14.04 to 18.04.



However, one of the servers is suddenly getting moments (multiple times per day) where it can't use DNS to resolve addresses. If you ping something from the command line, you get 'Temporary failure in name resolution'. This can last from 30 minutes to 12 hours. Eventually - with no changes on my part - it will start working again, only to fail again at some point. Resetting the host tends to resolve the issue for a while too.



This server was recently installed (about 2 weeks ago) 18.04 from the ISO and contains all the latest patches. I believe that because it is from the default that means it is using resolved and not interfaces, but I don't know for sure as I haven't followed how Ubuntu changed in that area. I do know that this host gets its address from DHCP and on a reboot, it reliably picks up not only its address but the DNS server list just fine (systemd-resolve --status displays all the DNS server IPs correctly).



What I don't know is how to debug this? What should I be looking for?



It is super challenging to learn when it happens - I notice it much later when I realize that its rsync jobs to update the other servers with weather data isn't working and I now know from experience that this means name resolution isn't working. Is there more debug info than what is in syslog? Any thoughts on how I can pin down when it starts happening to see if there are relevant syslog entries? Also, is there better debug info from whatever is doing name resolution (sockets?) when I attempt it and it fails?



Should I be looking for anything on the DNS server itself? I am the sysadmin for it so I can do whatever I need to.










share|improve this question


































    0

















    I have multiple Ubuntu 18.04 LTS Server installations on the same vSphere 6.7 host. One runs my DHCP and DNS server and has done so reliably for years, all the way from 14.04 to 18.04.



    However, one of the servers is suddenly getting moments (multiple times per day) where it can't use DNS to resolve addresses. If you ping something from the command line, you get 'Temporary failure in name resolution'. This can last from 30 minutes to 12 hours. Eventually - with no changes on my part - it will start working again, only to fail again at some point. Resetting the host tends to resolve the issue for a while too.



    This server was recently installed (about 2 weeks ago) 18.04 from the ISO and contains all the latest patches. I believe that because it is from the default that means it is using resolved and not interfaces, but I don't know for sure as I haven't followed how Ubuntu changed in that area. I do know that this host gets its address from DHCP and on a reboot, it reliably picks up not only its address but the DNS server list just fine (systemd-resolve --status displays all the DNS server IPs correctly).



    What I don't know is how to debug this? What should I be looking for?



    It is super challenging to learn when it happens - I notice it much later when I realize that its rsync jobs to update the other servers with weather data isn't working and I now know from experience that this means name resolution isn't working. Is there more debug info than what is in syslog? Any thoughts on how I can pin down when it starts happening to see if there are relevant syslog entries? Also, is there better debug info from whatever is doing name resolution (sockets?) when I attempt it and it fails?



    Should I be looking for anything on the DNS server itself? I am the sysadmin for it so I can do whatever I need to.










    share|improve this question






























      0












      0








      0








      I have multiple Ubuntu 18.04 LTS Server installations on the same vSphere 6.7 host. One runs my DHCP and DNS server and has done so reliably for years, all the way from 14.04 to 18.04.



      However, one of the servers is suddenly getting moments (multiple times per day) where it can't use DNS to resolve addresses. If you ping something from the command line, you get 'Temporary failure in name resolution'. This can last from 30 minutes to 12 hours. Eventually - with no changes on my part - it will start working again, only to fail again at some point. Resetting the host tends to resolve the issue for a while too.



      This server was recently installed (about 2 weeks ago) 18.04 from the ISO and contains all the latest patches. I believe that because it is from the default that means it is using resolved and not interfaces, but I don't know for sure as I haven't followed how Ubuntu changed in that area. I do know that this host gets its address from DHCP and on a reboot, it reliably picks up not only its address but the DNS server list just fine (systemd-resolve --status displays all the DNS server IPs correctly).



      What I don't know is how to debug this? What should I be looking for?



      It is super challenging to learn when it happens - I notice it much later when I realize that its rsync jobs to update the other servers with weather data isn't working and I now know from experience that this means name resolution isn't working. Is there more debug info than what is in syslog? Any thoughts on how I can pin down when it starts happening to see if there are relevant syslog entries? Also, is there better debug info from whatever is doing name resolution (sockets?) when I attempt it and it fails?



      Should I be looking for anything on the DNS server itself? I am the sysadmin for it so I can do whatever I need to.










      share|improve this question

















      I have multiple Ubuntu 18.04 LTS Server installations on the same vSphere 6.7 host. One runs my DHCP and DNS server and has done so reliably for years, all the way from 14.04 to 18.04.



      However, one of the servers is suddenly getting moments (multiple times per day) where it can't use DNS to resolve addresses. If you ping something from the command line, you get 'Temporary failure in name resolution'. This can last from 30 minutes to 12 hours. Eventually - with no changes on my part - it will start working again, only to fail again at some point. Resetting the host tends to resolve the issue for a while too.



      This server was recently installed (about 2 weeks ago) 18.04 from the ISO and contains all the latest patches. I believe that because it is from the default that means it is using resolved and not interfaces, but I don't know for sure as I haven't followed how Ubuntu changed in that area. I do know that this host gets its address from DHCP and on a reboot, it reliably picks up not only its address but the DNS server list just fine (systemd-resolve --status displays all the DNS server IPs correctly).



      What I don't know is how to debug this? What should I be looking for?



      It is super challenging to learn when it happens - I notice it much later when I realize that its rsync jobs to update the other servers with weather data isn't working and I now know from experience that this means name resolution isn't working. Is there more debug info than what is in syslog? Any thoughts on how I can pin down when it starts happening to see if there are relevant syslog entries? Also, is there better debug info from whatever is doing name resolution (sockets?) when I attempt it and it fails?



      Should I be looking for anything on the DNS server itself? I am the sysadmin for it so I can do whatever I need to.







      networking dns






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 30 at 1:23







      scottsh

















      asked May 22 at 16:40









      scottshscottsh

      12 bronze badges




      12 bronze badges























          0






          active

          oldest

          votes













          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/4.0/"u003ecc by-sa 4.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%2f1145420%2fintermittent-dns-temporarily-failure-in-name-resoluiton-on-ubuntu-18-04-server%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1145420%2fintermittent-dns-temporarily-failure-in-name-resoluiton-on-ubuntu-18-04-server%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

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü