How to see the address dnsmasq is listening to without netstatnetstat or alternative in docker ubuntu server 16.04 containerdnsmasq: failed to create listening socket for port 53: Address already in useRestricted internet access on 14.04. Teamviewer works, websites don't loaddnsmasq without dns functionalitylink local (fe80::) addresses without scope make their way into /etc/resolv.conf and cause problemsZesty DNS resolution no longer accepts search domain setting from DHCP

Is there a coup going on in Bolivia?

What is the scientific term to describe the operation of a bong?

Outlining the climax made me lose interest in writing the actual story

Ideal Firearms for time travel or low tech universe exploration

What is the relationship between taxes and annual liquidation of the markets?

What can be found in towers of Tower Bridge?

Are there advantages to slotted wingtips?

Does the German President's apology for WWII reflect the prevailing views of the people of Germany?

How do impulse response guitar amp simulators work?

Why does Rome municipality seem to have a hard time maintaining the city?

Efficient stable sum of ordered numbers

Styling overlapping polygons of different layers

Does the sun cross other spiral arms in its movement around the galaxy's center?

Can I wire this light fixture set with the plate mounted directly to the stud?

"packing with a hard knot in the pit of his stomach" meaning

Why do the Rebels probe the section of the shield within the gate?

Is using RSA with SHA-1 considered as secure as HMAC-SHA-1?

Can a microwave oven cook chicken?

What does Darth Vader think Obi-Wan's referring to when Obi says "If you strike me down..."

How do HK restaurants keep wok-fried scallops white, with no visible sear marks?

Why is super hero technology never used by civilians?

Format a swedish phone number

Booking for intra-EU trains

Phrase/Word-pair for a variant of master-slave relationship



How to see the address dnsmasq is listening to without netstat


netstat or alternative in docker ubuntu server 16.04 containerdnsmasq: failed to create listening socket for port 53: Address already in useRestricted internet access on 14.04. Teamviewer works, websites don't loaddnsmasq without dns functionalitylink local (fe80::) addresses without scope make their way into /etc/resolv.conf and cause problemsZesty DNS resolution no longer accepts search domain setting from DHCP






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









0

















I used to run sudo netstat -tulpen | grep dnsmasq, but netstat is outdated. This answer says to use ss as an alternative, but I cannot get the desired output. I.e. ss -ltu | grep dnsmasq does not print anything, despite dnsmasq being obviously running (my domain gets resolved).



Can I use ss to see dnsmasq's listening address? If so: How? If not: What is the non-deprecated alternative to netstat?










share|improve this question
































    0

















    I used to run sudo netstat -tulpen | grep dnsmasq, but netstat is outdated. This answer says to use ss as an alternative, but I cannot get the desired output. I.e. ss -ltu | grep dnsmasq does not print anything, despite dnsmasq being obviously running (my domain gets resolved).



    Can I use ss to see dnsmasq's listening address? If so: How? If not: What is the non-deprecated alternative to netstat?










    share|improve this question




























      0












      0








      0








      I used to run sudo netstat -tulpen | grep dnsmasq, but netstat is outdated. This answer says to use ss as an alternative, but I cannot get the desired output. I.e. ss -ltu | grep dnsmasq does not print anything, despite dnsmasq being obviously running (my domain gets resolved).



      Can I use ss to see dnsmasq's listening address? If so: How? If not: What is the non-deprecated alternative to netstat?










      share|improve this question















      I used to run sudo netstat -tulpen | grep dnsmasq, but netstat is outdated. This answer says to use ss as an alternative, but I cannot get the desired output. I.e. ss -ltu | grep dnsmasq does not print anything, despite dnsmasq being obviously running (my domain gets resolved).



      Can I use ss to see dnsmasq's listening address? If so: How? If not: What is the non-deprecated alternative to netstat?







      dns dnsmasq netstat






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 12 at 7:01









      crusycrusy

      1033 bronze badges




      1033 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          1


















          sudo ss -ltup | grep dnsmasq


          About your command: ss -ltu, The -p (Show process using socket) parameter is missing and -p requires sudo.






          share|improve this answer


























          • I tried -ltup, but without sudo, so thanks

            – crusy
            Aug 12 at 7:27












          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%2f1165098%2fhow-to-see-the-address-dnsmasq-is-listening-to-without-netstat%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









          1


















          sudo ss -ltup | grep dnsmasq


          About your command: ss -ltu, The -p (Show process using socket) parameter is missing and -p requires sudo.






          share|improve this answer


























          • I tried -ltup, but without sudo, so thanks

            – crusy
            Aug 12 at 7:27















          1


















          sudo ss -ltup | grep dnsmasq


          About your command: ss -ltu, The -p (Show process using socket) parameter is missing and -p requires sudo.






          share|improve this answer


























          • I tried -ltup, but without sudo, so thanks

            – crusy
            Aug 12 at 7:27













          1














          1










          1









          sudo ss -ltup | grep dnsmasq


          About your command: ss -ltu, The -p (Show process using socket) parameter is missing and -p requires sudo.






          share|improve this answer














          sudo ss -ltup | grep dnsmasq


          About your command: ss -ltu, The -p (Show process using socket) parameter is missing and -p requires sudo.







          share|improve this answer













          share|improve this answer




          share|improve this answer










          answered Aug 12 at 7:24









          pimpim

          2,2641 gold badge11 silver badges29 bronze badges




          2,2641 gold badge11 silver badges29 bronze badges















          • I tried -ltup, but without sudo, so thanks

            – crusy
            Aug 12 at 7:27

















          • I tried -ltup, but without sudo, so thanks

            – crusy
            Aug 12 at 7:27
















          I tried -ltup, but without sudo, so thanks

          – crusy
          Aug 12 at 7:27





          I tried -ltup, but without sudo, so thanks

          – crusy
          Aug 12 at 7:27


















          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%2f1165098%2fhow-to-see-the-address-dnsmasq-is-listening-to-without-netstat%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

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?