Announcements
-
19 November 2026NEW
Get your IP address from the terminal:
curl dnsbil.comWhen you run curl dnsbil.com in a terminal, you get just your public (external) IP address as plain text instead of the website. Open the site in a browser and it works as usual.
curl dnsbil.comWhy is it useful?
- To quickly find the outside-facing IP address of a server you are connected to over SSH, or of a machine behind NAT.
- To grab your own IP address without opening a browser when you set up a firewall, an allowlist or a VPN.
- To store the IP address in a variable in scripts and scheduled jobs (cron, CI):
IP=$(curl -s dnsbil.com)
The same works with
wget -qO- dnsbil.comand HTTPie. For detailed IP information (location, network owner) use the My IP page. -
Using the site
Quick tips
- Type a domain name in the box on the home page and press LOOKUP; DNS records, WHOIS and SSL details come together on one page. Your recent searches are listed below the box.
- Use the Create share link button on the results to send them to others as a single link.
- The other tools (DNS Propagation, Domain Scorecard, Redirect Checker, Live DNS and more) are grouped under Tools in the menu.
- Switch between Turkish and English with the language bar at the top of the page.