Admin hints: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
m (Text replacement - "</source" to "</syntaxhighlight")
Line 5: Line 5:
==DNS==
==DNS==
===Get your IP address===
===Get your IP address===
<source lang=shell-session>
<syntaxhighlight lang=bash>
$ dig +short +time=2 +tries=1 myip.opendns.com @resolver1.opendns.com
$ dig +short +time=2 +tries=1 myip.opendns.com @resolver1.opendns.com
</syntaxhighlight>
</syntaxhighlight>

Revision as of 16:44, 25 November 2021


Cheat sheets

DNS

Get your IP address

$ dig +short +time=2 +tries=1 myip.opendns.com @resolver1.opendns.com