Home | Articles | About | Contact | Forum |
Thursday, November 21, 2024



Lunarpages.com Web Hosting

Mailing List

E-mail:
By Joining the mailing list you will be notified of site updates.


Show Your Support For
This Site By Donating:











Audience: Self Learners - System Administrators
Last Updated: 03/21/2011 7:16:11 PM
Original Creation Date: 10/21/2006 12:31:46 PM
**All times are EST**




RDNS - Reverse DNS Pointer Records

By Erik Rodriguez

This article provides an overview of RDNS pointer records. These records are commonly used to identify the origin of host records.



What is a RDNS Pointer?

If you don't know what plain old DNS is, see this article. RDNS (reverse DNS records), often refered to as Reverse DNS Pointers is basically DNS backwards. However, each domain on the internet is not actually going to resolve backwards the same way. What the hell does that mean? Well, I will provide some examples. Every device on the internet has an IP addresses. Some devices (primarly servers) even have more than one. Lets take a look at the DNS and RDNS records from several domains. I will be using the host command in Linux for this, but you can also us nslookup in Windows. First let's take a look at this site. (Items marked in green represent user entered commands)
[weaponx@roswell weaponx]$ host skullbox.net
skullbox.net has address 74.52.121.151
[weaponx@roswell weaponx]$
DNS did its job! It replied with the IP address of skullbox.net. Now, lets look at the reverse DNS record for that IP.
[weaponx@roswell weaponx]$ host 74.52.121.151
151.121.52.74.in-addr.arpa domain name pointer skullbox.net.
[weaponx@roswell weaponx]$
Okay so what? Well, in this case, the DNS and RDNS records match. However, as I mentioned above it won't always work out this way. Why? Well, Skullbox.net is hosted on a dedicated server. The server does not host any other sites besides this one. Therefore, the RDNS (PTR) record is set to reply as skullbox.net. Lets take a look at a different domain that resides on a shared server:
[weaponx@roswell weaponx]$ host erikrodriguez.net
erikrodriguez.net has address 74.52.23.162
[weaponx@roswell weaponx]$
DNS did its job! It replied with the IP address of erikrodriguez.net. Now, lets look at the reverse DNS record for that IP.
[weaponx@roswell weaponx]$ host 74.52.23.162
162.23.52.74.in-addr.arpa domain name pointer amber.orlandotechworks.net.
[weaponx@roswell weaponx]$
Interesting! They don't match? This is because erikrodriguez.net resides on a "shared server." This means the server is hosting other sites besides that one. So, the hosting company, Orlando Tech Works, has set the RDNS record to their server name. In this case, amber.orlandotechworks.net. If you perform a forward and reverse lookup on amber.orlandotechworks.net, they will match, just as they did with skullbox.net.

Conclusion

It's fairly interesting to check the RDNS records of different hosts. You can usually tell where a site is hosted by looking at it's RDNS records, because most hosting companies make all the RDNS entries point to a host in their domain. Another easy way to check where the DNS is parked. If you do a whois on skullbox.net, you'll find that the name servers are ns1.orlandotechworks.net and ns2.orlandotechworks.net. In rare cases, dedicated servers will run their own DNS servers, but this is usually done if they are going to server other domains. If you are going to use RDNS pointers with your domains, make sure that any RDNS pointer records have a valid forward lookup. For example, I could not set a RDNS record for IP 192.168.0.123 to router.skullbox.net, if router.skullbox.net does not resolve to 192.168.0.123. Happy resolving ;)



TCP vs. UDP
Juniper SRX anti-spam filtering config
Windows Server 2008 Clustering Configuration
Windows 2008 R2 Network Load Balancing (NLB)
Extreme Networks: Downloading new software image
Juniper SRX save config to USB drive
Juniper SRX logout sessions
Extreme Networks Syslog Configuration
Command line drive mapping
Neoscale vs. Decru
Data Security vs. Data Protection
Juniper SRX Cluster Configuration
HOWTO - Create VLAN on Extreme Switch
Using a Non-local Colocation Facility
Linux Server Administration
IT Chop Shops
Flow Viewers: SFLOW, NetFLOW, and JFLOW
Exchange 2007 Back Pressure
IPtables open port for specific IP
Politics in IT Departments
HOWTO - Block Dropbox
Cisco IOS Cheat Sheet
Subnet Cheat Sheet
Design a DMZ Network
How DNS works
Firewall Configuration
Juniper SSG Firewalls
Server Management
Configuring VLANs
Runlevels in Linux
Server Clustering
SONET Networks
The Red Hat Network
Server Colocation
Complicated Linux Servers
Dark Fiber
Data Center Network Design
Firewall Types
Colocation Bandwidth




Copyright © 2002-2016 Skullbox.Net All Rights Reserved.
A division of Orlando Tech Works, LLC
By using this site you agree to its Terms and Conditions.
Contact Erik Rodriguez