954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

DNS record types

in php i came accross the function checkdnsrr . optionally, you can enter one of the following dns record types:
A, MX, NS, SOA, PTR, CNAME, AAAA, or ANY. The default is MX.

i have no idea what any of them mean but wanted to use this function to verify e-mail address domains and links in real-time.

evilmonkey29
Junior Poster in Training
71 posts since Aug 2002
Reputation Points: 11
Solved Threads: 3
 

http://www.dns.net/dnsrd/rr.html might be of some help...I googled for dns record types and many results came up :)

Riker
Newbie Poster
11 posts since Jun 2003
Reputation Points: 10
Solved Threads: 1
 

thanks. that somewhat helps.
sorting through the data and after some googling i found the following:

A = address (i think it means you give it a domain name and it will check for an ip address)
MX = mail exchange (i'll use it to verify e-mail addresses)
NS = name server
SOA = start of authority (the first record in every properly configured zone, contains info about the zone)
PTR = pointer (looks to be same as CNAME except instead of 192.168.0.1 you would enter 1.0.168.192.IN-ADDR.ARPA)
CNAME = canonical name (the real name of a host - i think this means if you give it an ip address, it'll check to see if there's a domain name associated with it)
AAAA = IPv6 address (IPv6 increases IP address size from 32 to 128 bits for more levels of hierarchy)
ANY = i take it that means all of the above.

sites i found helpful:
http://www.menandmice.com/online_docs_and_faq/glossary/glossarytoc.htm

please correct me if i interpreted the info wrong. hope this helps people.

evilmonkey29
Junior Poster in Training
71 posts since Aug 2002
Reputation Points: 11
Solved Threads: 3
 

I highly recommend picking up a book or ebook on DNS.

mcldev
Light Poster
31 posts since Feb 2005
Reputation Points: 10
Solved Threads: 3
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You