Pre-requirements
- Ensure that the RDNS has been properly configured on your DNS server or by your hosting provider.
- Access to the server or system where you want to verify the RDNS settings.
- Familiarity with command-line interfaces like Command Prompt (Windows) or Terminal (Linux/macOS).
Introduction
After configuring Reverse DNS (RDNS) for an IP address, it's important to verify that it works correctly. RDNS maps an IP address to a domain name, and verification ensures that your configuration is accurate. This guide outlines the steps to check RDNS on both Windows and Unix-based systems (Linux/macOS).
Procedure to Verify RDNS
Operating System | Steps to Verify RDNS | Commands |
---|---|---|
Windows Systems |
|
|
Expected Output (Windows) | If the RDNS is configured correctly, the output will look something like this: | |
|
||
Unix-based Systems (Linux/macOS) |
|
Using host command:
Using dig command:
|
Expected Output (Linux/macOS) | If the RDNS is configured correctly, the output will look something like this: | |
|
Gotchas to Avoid
- Incorrect IP Address: Ensure you are querying the correct IP address that has RDNS configured.
- DNS Propagation: If you recently configured RDNS, it may take some time for the DNS settings to propagate across the internet. Wait for up to 48 hours before verifying.
- Firewall Issues: Ensure that your firewall settings are not blocking DNS queries from the system you are using to verify the RDNS configuration.
Verifying RDNS ensures that your IP address correctly resolves to the associated domain name. By following the steps outlined above, you can easily check whether RDNS is functioning as expected on both Windows and Unix-based systems. If the output does not match the expected results, review your RDNS configuration or consult with your DNS provider.