Skip to content

Instantly share code, notes, and snippets.

@iMushlih
Forked from ipoddubny/ipconfig.md
Created December 8, 2022 06:12
Show Gist options
  • Save iMushlih/f8599fc6677e5f90349b802f9e2912d0 to your computer and use it in GitHub Desktop.
Save iMushlih/f8599fc6677e5f90349b802f9e2912d0 to your computer and use it in GitHub Desktop.

Revisions

  1. @ipoddubny ipoddubny revised this gist Mar 24, 2017. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion ipconfig.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,6 @@
    curl ifconfig.co
    curl icanhazip.com
    curl ifconfig.me
    curl ipv4.ipogre.com
    curl http://smart-ip.net/myip
    ```

  2. @ipoddubny ipoddubny revised this gist Nov 17, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion ipconfig.md
    Original file line number Diff line number Diff line change
    @@ -14,5 +14,6 @@ telnet myip.gelma.net

    ## dns
    ```sh
    dig +short myip.opendns.com @resolver1.opendns.com
    dig +short @resolver1.opendns.com myip.opendns.com
    dig +short @ns1.google.com -t txt o-o.myaddr.l.google.com
    ```
  3. @ipoddubny ipoddubny created this gist Aug 5, 2014.
    18 changes: 18 additions & 0 deletions ipconfig.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    ## http
    ```sh
    curl ifconfig.co
    curl icanhazip.com
    curl ifconfig.me
    curl ipv4.ipogre.com
    curl http://smart-ip.net/myip
    ```

    ## telnet
    ```sh
    telnet myip.gelma.net
    ```

    ## dns
    ```sh
    dig +short myip.opendns.com @resolver1.opendns.com
    ```