Posted in windows commands
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
This Month
This Year

No Items Found.

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

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

'Dawnie' used to say, "It's really quite simple: Be kind, and the rest takes care of itself. Never do anything that's not kind".

Dawn Atherton
Random CSS Property


The size-adjust CSS descriptor defines a multiplier for glyph outlines and metrics associated with this font. This makes it easier to harmonize the designs of various fonts when rendered at the same font size.
size-adjust (@font-face) css reference