Posted in windows commands
10246
3:43 am, November 9, 2022
 

how to show your DNS in windows and then copy it to the clipboard in one command

Here is how you can show your current DNS server in windows command line and then copy it to the clipboard, ready for pasting. 

  1. Open Windows Command Prompt
    <windows key> + R

  2. Type cmd


  3. Press Enter

  4. Now type the following command. Yes my typing is bad! :{



    ipconfig /displaydns | clip

  5. Now your dns information is copied into your clipboard so you can paste it anywhere you need... just dont paste it back into the terminal like i did (by accident...) Hopefully this did not break anything. 

View Statistics
This Week
19
This Month
197
This Year
615

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
All of humanity's problems stem from man's inability to sit quietly in a room alone, wrote Blaise Pascal.
Unknown
Random CSS Property

padding-left

The padding-left CSS property sets the width of the padding area to the left of an element.
padding-left css reference