How to find the DNS server being used The Next CEO of Stack OverflowLocal hostname resolution...

What does this strange code stamp on my passport mean?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Does int main() need a declaration on C++?

How to unfasten electrical subpanel attached with ramset

How does a dynamic QR code work?

Planeswalker Ability and Death Timing

Upgrading From a 9 Speed Sora Derailleur?

How can I separate the number from the unit in argument?

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Simplify trigonometric expression using trigonometric identities

How do I keep Mac Emacs from trapping M-`?

"Eavesdropping" vs "Listen in on"

How to implement Comparable so it is consistent with identity-equality

How do I secure a TV wall mount?

Avoiding the "not like other girls" trope?

How to pronounce fünf in 45

Why was Sir Cadogan fired?

How can I prove that a state of equilibrium is unstable?

Horror film about a man brought out of cryogenic suspension without a soul, around 1990

The sum of any ten consecutive numbers from a fibonacci sequence is divisible by 11

Airship steam engine room - problems and conflict

Is there a rule of thumb for determining the amount one should accept for a settlement offer?

How should I connect my cat5 cable to connectors having an orange-green line?

Does Germany produce more waste than the US?



How to find the DNS server being used



The Next CEO of Stack OverflowLocal hostname resolution with local Ubuntu DNS server failsIs there a caching DNS proxy I can add local records to?UB 12.04 Desktop - System Update Server Main vs UK and DNSHow to monitor network speed of remote system on unity panel?How does DNS resolution work without any nameserver entries in resolv.conf?Ubuntu 16.04.1 tells me my DNS server is 127.0.0.1(K)Ubuntu ignores my router as DNS server, fails to find local hostnameHow to connect moodle server running Ubuntu server to outside world?Find DHCP Lease & DNS Info In 18.04 LTSfind out what DNS servers are being queried?












0















Ubuntu 16.04, Acer i5, 6GB, 256GB-SSD.



Hi, I have pi-hole on a Pi and set my router DNS to point to it's IP address as described by the pi-hole install stuff.



The Internet access seems to be working OK, but, from my Ubuntu I'd like to see which DNS server is being used beyond the Pi. When I set pi-hole up, I selected DNSWatch as the default downstream (or upstream) but would like to see that it is being used.



Also, I'd like to see what DNS is being used when pi-hole is turned off. There is a delay of about 5-seconds and then my Acer/Router finds a DNS server to use.



I can add 2 more DNS servers in my dd-wrt router so was thinking of adding OpenDNS as a fall back if the pi-hole is down.



Is there a way to query the Pi, or my Ubuntu to get the outside DNS?










share|improve this question



























    0















    Ubuntu 16.04, Acer i5, 6GB, 256GB-SSD.



    Hi, I have pi-hole on a Pi and set my router DNS to point to it's IP address as described by the pi-hole install stuff.



    The Internet access seems to be working OK, but, from my Ubuntu I'd like to see which DNS server is being used beyond the Pi. When I set pi-hole up, I selected DNSWatch as the default downstream (or upstream) but would like to see that it is being used.



    Also, I'd like to see what DNS is being used when pi-hole is turned off. There is a delay of about 5-seconds and then my Acer/Router finds a DNS server to use.



    I can add 2 more DNS servers in my dd-wrt router so was thinking of adding OpenDNS as a fall back if the pi-hole is down.



    Is there a way to query the Pi, or my Ubuntu to get the outside DNS?










    share|improve this question

























      0












      0








      0








      Ubuntu 16.04, Acer i5, 6GB, 256GB-SSD.



      Hi, I have pi-hole on a Pi and set my router DNS to point to it's IP address as described by the pi-hole install stuff.



      The Internet access seems to be working OK, but, from my Ubuntu I'd like to see which DNS server is being used beyond the Pi. When I set pi-hole up, I selected DNSWatch as the default downstream (or upstream) but would like to see that it is being used.



      Also, I'd like to see what DNS is being used when pi-hole is turned off. There is a delay of about 5-seconds and then my Acer/Router finds a DNS server to use.



      I can add 2 more DNS servers in my dd-wrt router so was thinking of adding OpenDNS as a fall back if the pi-hole is down.



      Is there a way to query the Pi, or my Ubuntu to get the outside DNS?










      share|improve this question














      Ubuntu 16.04, Acer i5, 6GB, 256GB-SSD.



      Hi, I have pi-hole on a Pi and set my router DNS to point to it's IP address as described by the pi-hole install stuff.



      The Internet access seems to be working OK, but, from my Ubuntu I'd like to see which DNS server is being used beyond the Pi. When I set pi-hole up, I selected DNSWatch as the default downstream (or upstream) but would like to see that it is being used.



      Also, I'd like to see what DNS is being used when pi-hole is turned off. There is a delay of about 5-seconds and then my Acer/Router finds a DNS server to use.



      I can add 2 more DNS servers in my dd-wrt router so was thinking of adding OpenDNS as a fall back if the pi-hole is down.



      Is there a way to query the Pi, or my Ubuntu to get the outside DNS?







      networking server dns






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 5 '18 at 15:46









      LinuxFerLifeLinuxFerLife

      12711




      12711






















          2 Answers
          2






          active

          oldest

          votes


















          0














          simply ssh to your pi and ask with nslookup...



          ssh pi@pi # for exemple


          then



          ~$ nslookup
          > server
          Default server: 208.67.222.222
          Address: 208.67.222.222#53
          > ^C
          ~$





          share|improve this answer
























          • Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

            – LinuxFerLife
            May 5 '18 at 17:44











          • I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

            – LinuxFerLife
            May 5 '18 at 18:58











          • find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

            – cmak.fr
            May 6 '18 at 8:10



















          0














          If you are running a more modern linux and want an authoritative answer try:



          systemd-resolve --status



          It will show all adapters and what each adapters DNS server is. So you can troubleshoot OpenVPN problems...etc.





          share








          New contributor




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





















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


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032449%2fhow-to-find-the-dns-server-being-used%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            simply ssh to your pi and ask with nslookup...



            ssh pi@pi # for exemple


            then



            ~$ nslookup
            > server
            Default server: 208.67.222.222
            Address: 208.67.222.222#53
            > ^C
            ~$





            share|improve this answer
























            • Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

              – LinuxFerLife
              May 5 '18 at 17:44











            • I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

              – LinuxFerLife
              May 5 '18 at 18:58











            • find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

              – cmak.fr
              May 6 '18 at 8:10
















            0














            simply ssh to your pi and ask with nslookup...



            ssh pi@pi # for exemple


            then



            ~$ nslookup
            > server
            Default server: 208.67.222.222
            Address: 208.67.222.222#53
            > ^C
            ~$





            share|improve this answer
























            • Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

              – LinuxFerLife
              May 5 '18 at 17:44











            • I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

              – LinuxFerLife
              May 5 '18 at 18:58











            • find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

              – cmak.fr
              May 6 '18 at 8:10














            0












            0








            0







            simply ssh to your pi and ask with nslookup...



            ssh pi@pi # for exemple


            then



            ~$ nslookup
            > server
            Default server: 208.67.222.222
            Address: 208.67.222.222#53
            > ^C
            ~$





            share|improve this answer













            simply ssh to your pi and ask with nslookup...



            ssh pi@pi # for exemple


            then



            ~$ nslookup
            > server
            Default server: 208.67.222.222
            Address: 208.67.222.222#53
            > ^C
            ~$






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 5 '18 at 16:02









            cmak.frcmak.fr

            2,4441121




            2,4441121













            • Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

              – LinuxFerLife
              May 5 '18 at 17:44











            • I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

              – LinuxFerLife
              May 5 '18 at 18:58











            • find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

              – cmak.fr
              May 6 '18 at 8:10



















            • Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

              – LinuxFerLife
              May 5 '18 at 17:44











            • I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

              – LinuxFerLife
              May 5 '18 at 18:58











            • find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

              – cmak.fr
              May 6 '18 at 8:10

















            Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

            – LinuxFerLife
            May 5 '18 at 17:44





            Thank you, but I get Default server: 127.0.0.1 and Address: 127.0.0.1#53

            – LinuxFerLife
            May 5 '18 at 17:44













            I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

            – LinuxFerLife
            May 5 '18 at 18:58





            I should mention, that I get that for both my laptop in Terminal and both SSH to the Pi and when using the keyboard and monitor directly to the Pi.

            – LinuxFerLife
            May 5 '18 at 18:58













            find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

            – cmak.fr
            May 6 '18 at 8:10





            find wich server program is listenning on port 53, then read his config. > netstat -antup | grep 53

            – cmak.fr
            May 6 '18 at 8:10













            0














            If you are running a more modern linux and want an authoritative answer try:



            systemd-resolve --status



            It will show all adapters and what each adapters DNS server is. So you can troubleshoot OpenVPN problems...etc.





            share








            New contributor




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

























              0














              If you are running a more modern linux and want an authoritative answer try:



              systemd-resolve --status



              It will show all adapters and what each adapters DNS server is. So you can troubleshoot OpenVPN problems...etc.





              share








              New contributor




              John6of6 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







                If you are running a more modern linux and want an authoritative answer try:



                systemd-resolve --status



                It will show all adapters and what each adapters DNS server is. So you can troubleshoot OpenVPN problems...etc.





                share








                New contributor




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










                If you are running a more modern linux and want an authoritative answer try:



                systemd-resolve --status



                It will show all adapters and what each adapters DNS server is. So you can troubleshoot OpenVPN problems...etc.






                share








                New contributor




                John6of6 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




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









                answered 1 min ago









                John6of6John6of6

                1




                1




                New contributor




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





                New contributor





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






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






























                    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%2f1032449%2fhow-to-find-the-dns-server-being-used%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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...