Ubuntu Server DNS Problem with Static IPDns problem ubuntu serverStatic DNS in Ubuntu Server 16.04Netplan-configured LXD host doesn't restore network config on rebootNetplan error, error on nameserverBIND server won't resolve names on LANUbuntu 18.04 Network card with two IP addressesStatic IP address in a VirtualBox machine running Ubuntu 18.04 server LTSnetplan issue with Ubuntu 18.04.1 Server. No network connectivity (no routes either)home server DNS with dnsmasqUbuntu Bionic Server edition + Netplan: Not getting static IP on a ethernet connection

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

Convert two switches to a dual stack, and add outlet - possible here?

How does one intimidate enemies without having the capacity for violence?

Why is consensus so controversial in Britain?

Horror movie about a virus at the prom; beginning and end are stylized as a cartoon

How to format long polynomial?

Why is Minecraft giving an OpenGL error?

dbcc cleantable batch size explanation

Why are electrically insulating heatsinks so rare? Is it just cost?

Why doesn't H₄O²⁺ exist?

Did Shadowfax go to Valinor?

Languages that we cannot (dis)prove to be Context-Free

Do infinite dimensional systems make sense?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Are astronomers waiting to see something in an image from a gravitational lens that they've already seen in an adjacent image?

How do I deal with an unproductive colleague in a small company?

Modeling an IP Address

Is it inappropriate for a student to attend their mentor's dissertation defense?

Rock identification in KY

Is it possible to run Internet Explorer on OS X El Capitan?

Filter any system log file by date or date range

What's the point of deactivating Num Lock on login screens?

What's that red-plus icon near a text?

Does detail obscure or enhance action?



Ubuntu Server DNS Problem with Static IP


Dns problem ubuntu serverStatic DNS in Ubuntu Server 16.04Netplan-configured LXD host doesn't restore network config on rebootNetplan error, error on nameserverBIND server won't resolve names on LANUbuntu 18.04 Network card with two IP addressesStatic IP address in a VirtualBox machine running Ubuntu 18.04 server LTSnetplan issue with Ubuntu 18.04.1 Server. No network connectivity (no routes either)home server DNS with dnsmasqUbuntu Bionic Server edition + Netplan: Not getting static IP on a ethernet connection






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








0















I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.



network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses: [10.10.21.8/24]
gateway4: 10.10.21.100
nameservers:
addresses: [8.8.8.8, 8.8.4.4]


Running sudo netplan apply --debugresults in:



debug



Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.









share







New contributor




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


























    0















    I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.



    network:
    version: 2
    renderer: networkd
    ethernets:
    enp0s3:
    dhcp4: no
    addresses: [10.10.21.8/24]
    gateway4: 10.10.21.100
    nameservers:
    addresses: [8.8.8.8, 8.8.4.4]


    Running sudo netplan apply --debugresults in:



    debug



    Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.









    share







    New contributor




    codemonkey 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








      I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.



      network:
      version: 2
      renderer: networkd
      ethernets:
      enp0s3:
      dhcp4: no
      addresses: [10.10.21.8/24]
      gateway4: 10.10.21.100
      nameservers:
      addresses: [8.8.8.8, 8.8.4.4]


      Running sudo netplan apply --debugresults in:



      debug



      Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.









      share







      New contributor




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












      I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.



      network:
      version: 2
      renderer: networkd
      ethernets:
      enp0s3:
      dhcp4: no
      addresses: [10.10.21.8/24]
      gateway4: 10.10.21.100
      nameservers:
      addresses: [8.8.8.8, 8.8.4.4]


      Running sudo netplan apply --debugresults in:



      debug



      Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.







      server dns netplan





      share







      New contributor




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










      share







      New contributor




      codemonkey 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




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









      asked 2 mins ago









      codemonkeycodemonkey

      133




      133




      New contributor




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





      New contributor





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






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




















          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/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
          );



          );






          codemonkey is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131552%2fubuntu-server-dns-problem-with-static-ip%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








          codemonkey is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          codemonkey is a new contributor. Be nice, and check out our Code of Conduct.












          codemonkey is a new contributor. Be nice, and check out our Code of Conduct.











          codemonkey is a new contributor. Be nice, and check out our Code of Conduct.














          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%2f1131552%2fubuntu-server-dns-problem-with-static-ip%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

          Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

          fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

          Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch