(ipconfig /displaydns) - how to display details for specific domain name











up vote
0
down vote

favorite












When I issue ipconfig /displaydns, I get a ton of output. I want to display the details for a specific domain name like google.com. My objective is something like this as output:



enter image description here



I tried ipconfig /displaydns | find "google.com", but this did not help me as it only displays the lines, not the section










share|improve this question









New contributor




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
























    up vote
    0
    down vote

    favorite












    When I issue ipconfig /displaydns, I get a ton of output. I want to display the details for a specific domain name like google.com. My objective is something like this as output:



    enter image description here



    I tried ipconfig /displaydns | find "google.com", but this did not help me as it only displays the lines, not the section










    share|improve this question









    New contributor




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






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      When I issue ipconfig /displaydns, I get a ton of output. I want to display the details for a specific domain name like google.com. My objective is something like this as output:



      enter image description here



      I tried ipconfig /displaydns | find "google.com", but this did not help me as it only displays the lines, not the section










      share|improve this question









      New contributor




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











      When I issue ipconfig /displaydns, I get a ton of output. I want to display the details for a specific domain name like google.com. My objective is something like this as output:



      enter image description here



      I tried ipconfig /displaydns | find "google.com", but this did not help me as it only displays the lines, not the section







      windows dns ipconfig






      share|improve this question









      New contributor




      Mohammed Hashim 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 question









      New contributor




      Mohammed Hashim 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 question




      share|improve this question








      edited Nov 25 at 1:40









      fixer1234

      17.3k144281




      17.3k144281






      New contributor




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









      asked Nov 24 at 6:21









      Mohammed Hashim

      1




      1




      New contributor




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





      New contributor





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






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






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Do ipconfig /displaydns > file.txt and use a text editor to find the entry.






          share|improve this answer





















          • can you please provide me more details on this?
            – Mohammed Hashim
            Nov 24 at 9:36










          • Which details ?
            – harrymc
            Nov 24 at 11:02










          • what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
            – Mohammed Hashim
            Nov 24 at 15:07










          • So what are you searching? A script for extracting 8 lines?
            – harrymc
            Nov 24 at 15:25










          • I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
            – Mohammed Hashim
            Nov 24 at 18:21













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          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
          });


          }
          });






          Mohammed Hashim 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%2fsuperuser.com%2fquestions%2f1377954%2fipconfig-displaydns-how-to-display-details-for-specific-domain-name%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








          up vote
          0
          down vote













          Do ipconfig /displaydns > file.txt and use a text editor to find the entry.






          share|improve this answer





















          • can you please provide me more details on this?
            – Mohammed Hashim
            Nov 24 at 9:36










          • Which details ?
            – harrymc
            Nov 24 at 11:02










          • what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
            – Mohammed Hashim
            Nov 24 at 15:07










          • So what are you searching? A script for extracting 8 lines?
            – harrymc
            Nov 24 at 15:25










          • I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
            – Mohammed Hashim
            Nov 24 at 18:21

















          up vote
          0
          down vote













          Do ipconfig /displaydns > file.txt and use a text editor to find the entry.






          share|improve this answer





















          • can you please provide me more details on this?
            – Mohammed Hashim
            Nov 24 at 9:36










          • Which details ?
            – harrymc
            Nov 24 at 11:02










          • what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
            – Mohammed Hashim
            Nov 24 at 15:07










          • So what are you searching? A script for extracting 8 lines?
            – harrymc
            Nov 24 at 15:25










          • I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
            – Mohammed Hashim
            Nov 24 at 18:21















          up vote
          0
          down vote










          up vote
          0
          down vote









          Do ipconfig /displaydns > file.txt and use a text editor to find the entry.






          share|improve this answer












          Do ipconfig /displaydns > file.txt and use a text editor to find the entry.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 24 at 7:28









          harrymc

          249k10257549




          249k10257549












          • can you please provide me more details on this?
            – Mohammed Hashim
            Nov 24 at 9:36










          • Which details ?
            – harrymc
            Nov 24 at 11:02










          • what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
            – Mohammed Hashim
            Nov 24 at 15:07










          • So what are you searching? A script for extracting 8 lines?
            – harrymc
            Nov 24 at 15:25










          • I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
            – Mohammed Hashim
            Nov 24 at 18:21




















          • can you please provide me more details on this?
            – Mohammed Hashim
            Nov 24 at 9:36










          • Which details ?
            – harrymc
            Nov 24 at 11:02










          • what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
            – Mohammed Hashim
            Nov 24 at 15:07










          • So what are you searching? A script for extracting 8 lines?
            – harrymc
            Nov 24 at 15:25










          • I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
            – Mohammed Hashim
            Nov 24 at 18:21


















          can you please provide me more details on this?
          – Mohammed Hashim
          Nov 24 at 9:36




          can you please provide me more details on this?
          – Mohammed Hashim
          Nov 24 at 9:36












          Which details ?
          – harrymc
          Nov 24 at 11:02




          Which details ?
          – harrymc
          Nov 24 at 11:02












          what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
          – Mohammed Hashim
          Nov 24 at 15:07




          what do you mean by > file.txt I dont want to copy the result to txt file and search there, totally useless
          – Mohammed Hashim
          Nov 24 at 15:07












          So what are you searching? A script for extracting 8 lines?
          – harrymc
          Nov 24 at 15:25




          So what are you searching? A script for extracting 8 lines?
          – harrymc
          Nov 24 at 15:25












          I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
          – Mohammed Hashim
          Nov 24 at 18:21






          I want to display a section like display the result of only google.com from ipconfig /displaydns, because there are a lot of entries in the output: ! i.postimg.cc/W4rtpdVW/2018-11-24-22-22-24-Command-Prompt.png
          – Mohammed Hashim
          Nov 24 at 18:21












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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Super User!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2fsuperuser.com%2fquestions%2f1377954%2fipconfig-displaydns-how-to-display-details-for-specific-domain-name%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕