You can use MailSlurp's REST API to query domains to determine a servers IP address. Here is an example using curl.
Note the header: this is your free API Key. Sign up to create an account.
Free IP Address lookup API. Find the IP address of a domain and or URL with internet protocol reverse DNS lookup.
Why this matters
Use this article to solve the immediate task, then apply the same approach in MailSlurp to build reliable, testable messaging workflows in production.
You can use MailSlurp's REST API to query domains to determine a servers IP address. Here is an example using curl.
Note the header: this is your free API Key. Sign up to create an account.
Next action
Move from reading to implementation with docs, examples, and a free workspace.
Post topics
Share this article
6 of 24 resources

Learn what IMAP stands for, how the IMAP protocol works, which ports it uses, and when IMAP is the right mailbox model versus POP3.

Use this SMTP server for Office 365 guide to configure smtp.office365.com, choose the right port and TLS mode, handle auth policy, and test message flow safely.
Learn how MTA and SMTP fit together, where mail submission ends and relay begins, and how to test routing, queues, retries, and delivery behavior safely.

Use this Google SMTP settings guide to configure the Gmail SMTP server, choose the right port and TLS mode, handle app-password auth, and troubleshoot send failures quickly.
Learn how email file size limits really work, why attachments grow during encoding, what Gmail size limits mean in practice, and how to test large-email workflows safely.
Learn what people mean by SSL for email, why modern systems really use TLS, how STARTTLS differs from implicit TLS, and what email transport encryption does and does not secure.
Continue reading
Continue with adjacent resources that help you move from concept to implementation.
Find endpoint-level references and SDK setup guides.
See how MailSlurp covers messaging, testing, monitoring, and automation workflows.
Clone ready-to-run repositories in multiple languages.
Watch practical walkthroughs and implementation demos.
Build in hours, not weeks