TTIL: Resolve the Public IP of a URL
The dig command is a utility for doing DNS lookups. You can run it with a URL argument to lookup the public IP for that domain. The output is a bit noisy, but if you parse down to the ANSWER SECTION…
The dig command is a utility for doing DNS lookups. You can run it with a URL argument to lookup the public IP for that domain. The output is a bit noisy, but if you parse down to the ANSWER SECTION…
You can define your own custom RSpec matchers. This is a great way to keep your spec tight and readable. A custom, domain-specific matcher can convey more intent in a single line than several lines of…