Admin hints: Difference between revisions

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

Revision as of 16:29, 25 November 2021


Cheat sheets

DNS

Get your IP address

<source lang=shell-session> $ dig +short +time=2 +tries=1 myip.opendns.com @resolver1.opendns.com </syntaxhighlight>