delivers the public IP of my internet connection/my modem. In a different thread it has been stated that if this is the case, your pi-hole is exposed to the open internet. If I follow that public IP, I am at my modem's landing page and need to login. So, is my pi-hole exposed to the internet or not? I would have expected getting through to the pi-hole webinterface if it is exposed.
Just in addition to Dan's comments - running that command, it is expected to return your public IP. You can even load it in a browser:
I've not fully read the other thread - but from a glance it looks like @Bucking_Horn was just asking the user for their public IP to confirm that they were indeed running an open resolver (note in the next comment it has been redacted)
Good hint, cheers! All popular ports (FTP, HTTP/S, SSH, TELNET, ... whatnot) are closed as well as another good fraction of ports the online tools contained in their checks. Glad I double checked phew
Indeed, I had been running a version query as well as one similar to test.openresolver.com as posted by deHakkelaar in order to verify that a Pi-hole installation was accessible at the public IP address.
The curl confirmed that specific IP to belong to their router, and thus an open resolver.