I know that a lot of VPN users have it as a homepage to their browser, that is why I wanted to publish this warning.

You can replace it with:

top 61 comments

sorted by: hot top controversial new old
[–] 44 points 7 months ago (3 children)
  • [–] 23 points 7 months ago (7 children)

    There is also ifconfig.me which works amazingly on the command like with curl ifconfig.me

  • source
  • hideshow 7 child comments
  • [+] 0 points 7 months ago (4 children)
  • [–] 2 points 7 months ago (2 children)

    That's not how this works. That's not how any of this works.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 20 points 7 months ago (1 child)
  • [–] 14 points 7 months ago* (3 children)
  • [–] 7 points 7 months ago

    I have DuckDuckGo set as my default search engine, so I just search for "ip" and Bob's your uncle

  • source
  • [–] 6 points 7 months ago

    I always use check.torproject.org. If I'm not on Tor, it gives me my IP, if I am on Tor it verifies that. Good for both.

  • source
  • There's also https://ip4.me/, nice and simple ipv4 test.

    (it also does other IP lookups via https://ip6.me/, https://ip6only.me/, https://whatismyv6.com/)

  • source
  • [–] 5 points 7 months ago* (2 children)
  • [–] 5 points 7 months ago
    [–] 7 points 7 months ago (2 children)

    Is it malicious code hosted on the website? Or are they saying that visiting that site is an indicator of compromise because they've malware commonly visiting that site?

  • source
  • hideshow 2 child comments
  • [–] 8 points 7 months ago*

    Looks like the domain registration expired, according to https://lookup.icann.org/en/lookup

    Fortinet marked the website as "malicious", but it doesn't seem to give an explanation as to why it's been given that classification (looked up here: https://www.fortiguard.com/webfilter)

    Kasperky wanted an account (and possibly a subscription) to look up the website and I'm not going to give them any of my information so I'm not sure if they gave an explanation as to why the website is flagged.

    Visiting https://thisismyip.com/ as of now just redirects to a Namecheap landing page so I doubt there's any actual malware on the website. I think Fortinet and Kaspersky preemptively marked it for when a malicious actor picks up the name and starts hosting actual viruses.

  • source
  • parent
  • [–] 3 points 7 months ago* (last edited 7 months ago) (10 children)
    #!/usr/bin/sh  
    dig -4 +short @resolver2.opendns.com myip.opendns.com  
    
    #!/usr/bin/pwsh  
    Resolve-DnsName -Server resolver2.opendns.com -Name myip.opendns.com -Type A | % { echo $_.IPAddress }  
    

    There should be an IPv6 resolver, but I don't remember and am currently unable to test. My PowerShell skills are also effectively non-existent.

  • source
  • hideshow 10 child comments
  • [–] 3 points 7 months ago (5 children)

    A simpler and easy to memorize alternative:

    curl ifconfig.me
    
  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 7 months ago* (3 children)

    I saw it used in another comment, and am already aware of the use of curl for such a task, but choose to query DNS services instead—especially in scripts.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 7 months ago (2 children)

    but choose to query DNS services instead—especially in scripts.

    Why? What advantages do you get?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 7 months ago*

    In order to connect to a site like wtfismyip.com you have to do a dns query for the IP address of the server, then query the http port on that IP address, but what if instead, that first dns query gave the answer to your question?

  • source
  • parent
  • [–] 1 point 7 months ago (3 children)

    Neat, how can you check IPv6? I was able to get my IPv4 address by querying with an A record, but tried with AAAA which doesn't respond with an answer.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 7 months ago* (last edited 7 months ago) (2 children)

    dig -6 +short @resolver2.opendns.com myip.opendns.com AAAA

    Note: You have to ensure you are actually contacting the server with IPv6.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 7 months ago (1 child)

    Ahh yeah, works with @resolver2.opendns.com so I guess my DNS resolver isn't supporting IPv6 or something like that?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 7 months ago* (last edited 7 months ago)

    This is a service provided by some DNS hosts, with their own special subdomains, and is not universal. They may also require slightly different options.

    Other options include:

    • Google (query for txt record): @ns1.google.com o-o.myaddr.l.google.com

    • Akaimai (query for txt record): @ns1-1.akamaitech.net whoami.akamai.net

    • Cloudflare: @1.1.1.1 whoami.cloudflare

    • Cisco (there are four, as far as can tell): @resolver[1-4].opendns.com myip.opendns.com

    …and likely others.

  • source
  • parent
  • [–] 3 points 7 months ago

    For us Linux users (BTW), this wtfismyip script just dumps a text string. Just save it to /usr/local/bin or some other location in your path and make it executable, and install the lynx text www browser if you don't have it installed already.

    There are a lot of ways to do this, but this works and I'm lazy...

    root@tux:~# cat $(which wtfismyip)
    #!/bin/bash
    
    printf "%s\n" "Your fucking IP address is $(lynx -dump -nolist http://wtfismyip.com/text)."
    
    root@tux:~# wtfismyip
    Your fucking IP address is 13.107.226.41.
    
  • source
  • [–] 4 points 7 months ago
    [–] 2 points 7 months ago

    IP chicken is another option

  • source
  • [–] 2 points 7 months ago (4 children)

    curl ifconfig.me

    Not sure about Linux, but on a Mac you can put it on your clipboard with

    curl ifconfig.me | pbcopy

  • source
  • hideshow 4 child comments
  • [–] 2 points 7 months ago (3 children)

    xh ifconfig.me | wl-copy

    👍

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 7 months ago (2 children)

    Oookay, I guess it detects the user agent and only sends the IP number when it detects curl. Using xh did not work as intended.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 7 months ago (1 child)

    Huh. Is it going by user-agent or something? Weird.

    Our own tiny one goes by the Accept header. If xh sets that to text/html you'll get an HTML webpage though.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 7 months ago

    Some sites go by that, some go by user agent. I believe xh can fake it's user agent, if I'm not mistaken.

    A good compromise would be to go by known user agents, but also heed the accept header. 👍

  • source
  • parent
  • [–] 2 points 7 months ago

    I've been using wgetip.com for over a decade now

  • source
  • [–] 2 points 7 months ago

    I’ve been using ifconfig.me for a while, you can curl it on the command line

  • source
  • You can just search ip on ddg and it'll show you

  • source
  • [–] 2 points 7 months ago

    dnsleaktest.com

    ipleak.net

    Check your IP and your DNS, all in one.

  • source
  • [–] 2 points 7 months ago

    i usually use icanhazip.com, seems to work well enough

  • source
  • [–] 2 points 7 months ago

    We have a little one, in case it's useful. https://ip.brightfur.net/ Super simple. Works with curl too (autodetects whether to give you plain text or an HTML webpage).

    It's like 20 lines of PHP and most of that's HTML.

    -- Frost

  • source
  • [–] 2 points 7 months ago

    I wrote my own. It's one of the easiest possible services to write.

  • source
  • [–] 2 points 7 months ago*
    [–] 2 points 7 months ago*

    I use thiscomputer.info

    It's just text. It shows a bit more than just your IP. And it's easy to remember.

  • source
  • [–] 2 points 7 months ago

    ip.me also works well in the terminal with curl. The default response is plaintext

  • source
  • [–] 3 points 7 months ago
    [–] 1 point 7 months ago

    Am.i.mullvad.net

  • source
  • [–] 1 point 5 months ago

    YSK: I’m the webmaster and developer of thisismyip.com, and I can assure you that the site does not contain any malicious code.

    Kind regards.
    j6nGJlOFvYYAVLp.png

  • source
  • [–] 1 point 7 months ago

    https://httpbin.org/ip

    Httpbin has a bunch of other useful endpoints as well

  • source