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?

How does a dynamic QR code work?

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

Read/write a pipe-delimited file line by line with some simple text manipulation

MT "will strike" & LXX "will watch carefully" (Gen 3:15)?

How can I replace x-axis labels with pre-determined symbols?

Find a path from s to t using as few red nodes as possible

How dangerous is XSS

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

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?

Is it possible to make a 9x9 table fit within the default margins?

What does this strange code stamp on my passport mean?

How exploitable/balanced is this homebrew spell: Spell Permanency?

Is a linearly independent set whose span is dense a Schauder basis?

What is the difference between 'contrib' and 'non-free' packages repositories?

How to unfasten electrical subpanel attached with ramset

Compilation of a 2d array and a 1d array

Car headlights in a world without electricity

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

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

Finitely generated matrix groups whose eigenvalues are all algebraic

Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?

Is it correct to say moon starry nights?

Ising model simulation

What did the word "leisure" mean in late 18th Century usage?



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|improve this answer








          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|improve this answer








            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|improve this answer








              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|improve this answer








                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|improve this answer








                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|improve this answer



                share|improve this answer






                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 17 mins 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

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org