Posted in windows commands
10282
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
40
This Month
233
This Year
651

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
therock Somewhere along this crazy road I learned (often times the hard way) the most important things I can do is be authentic, trust my gut, be the hardest worker in the room, celebrate the mistakes, be a grateful man and always remember that it's nice to be important, but it's more important to be nice.
The Rock
Random CSS Property

gap (grid-gap)

The gap CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for row-gap and column-gap.
gap css reference