Basic DNS Record Types

AID: 636
  • Status: Published

6150 points

  • ByOriNetworks
  • TypeGeneral
  • Posted on2009-05-13 at 17:23:45
Common Types Of DNS Records
-------------------------------------------
With a basic knowledge of DNS, you know that different types of records are required to identify hosts and different types of services and attributes related to the domain. The most common types of DNS records used in most domains and their most common uses are described below.

A - Host - Usually used to associate a hosts name with an IPv4 address. For IPv6 see AAAA record later in this article.
MX - Mail Exchange - Used to identify mail servers that perform mail services for the domain.  
NS - Name Server - Identifies an authoritative DNS server for a particular zone.
PTR - Maps IP addresses to hosts for use in a reverse DNS lookup.
SRV - Service Locator - A general service record. Used generically instead of creating protocol specific records such as MX.

More Record Types
-------------------------------------------
AAAA - IPv6 Host - Same as an A Record except it returns an IPv6 address.
CNAME - Canonical Name - Used to create an alias to reference one host by multiple names.
DNAME - Delegation Name - delegates an entire portion of a DNS tree under a new name not to be confused with CNAME which is for an individual name.
LOC - Location - Specifies a geographical location of a domain
SOA - Start of Authority - Contains authoritative information about a domain including: serial number which other servers for the zone can use to identify changes; primary name server; refresh to identify the interval to check for serial number changes; email of domain administrator; and other information.
SPF - Stores information relating to the SPF Protocol. SPF data can be stored in the type of record or in a TXT record.
TXT - Used to store various values such as SPF information.

Conclusion
-------------------------------------------
There are more types of DNS records and their uses may be more than what has been explained here but those listed are well known and their most common uses.
Asked On
2009-05-13 at 17:23:45ID636
Tags

DNS Records

,

PTR

,

A record

,

Host Record

,

DNS

Topic

Miscellaneous Networking

Views
5993

Comments

Expert Comment

by: Chris-Dent on 2009-05-14 at 14:45:58ID: 950


> SRV - Service Locator - A general service record. Used generically instead of
> creating protocol specific records such as MX.

MX is a separate Record type, it isn't part of or really anything to do with a Service Record.

Chris

Author Comment

by: OriNetworks on 2009-05-14 at 17:00:18ID: 954

The reason why MX and SRV are mentioned together is that SRV is meant to be a generic service locator. MX is speicifc to email servers. If we made protocol specific record types for everything, there would be a LOT more than what is out there. The idea behind SRV is that it can be used more generically. I'm not saying that you can use SRV in place of an MX or vice versa. It just reduces the complexity. Without SRV records there would probably be separate types of records for HTTP, SIP, etc.

SRV is like a general use MX record in that its not specific to email or any type of protocol.

Expert Comment

by: Chris-Dent on 2009-05-15 at 01:21:04ID: 959


My apologies, I misunderstood your meaning.

Chris

Author Comment

by: OriNetworks on 2009-05-15 at 13:53:16ID: 974

Thank you for commenting. I'm sure others might have had the same question.

Expert Comment

by: StevenHook on 2009-06-14 at 09:20:46ID: 1598

what are loc records used for?
I think it will be a funky record to add, but how is it practical in the real world?
can Google maps or something use it?

Author Comment

by: OriNetworks on 2009-06-14 at 11:55:31ID: 1599

LOC are used to identify the location of a domain name.

You can read more at the Wiki or by googling the topic
http://en.wikipedia.org/wiki/LOC_record

I'm not sure if the Google Maps API directly supports this but it is certainly possible if the domain has the record
http://www.simpledns.com/newsitem.aspx?id=2251

Expert Comment

by: StevenHook on 2009-06-14 at 12:34:51ID: 1600

what I am asking is - how is that information useful other than to guys like me who think it's cool in a geekish kind of way?
I have a local website hosted on a server in the US, should I store my local co-ordinates there or the co-ordinates of the server?
Why? (Other than that it's cool and unusual)
Steven

Author Comment

by: OriNetworks on 2009-06-14 at 14:19:21ID: 1602

Well its certainly not a required record type unless you have applications that support this. If you would like more input, I would suggest opening a question becuase maybe more experts might have an opinion or other information to share about this.

Without going into too much detail, here are a few uses I can think of
-If I were a search engine, I could use this information to lookup other nearby businesses to offer a an alternative or supplemental information.
-Allowing a company to dynamically view a worldwide IT infrastructure on a map(Generically of course).
-Advertising companies can use this data to serve ads more relevant to the host site
-With reverse DNS I might be able to more accurately geolocate my websites viewers on a map
-Applications could be extended to GPS, wifi, iPhone, etc.

I'm sure there are ways to do this alreayd without LOC data but its just an option.

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Misc Networking Experts

  1. giltjr

    142,949

    Master

    0 points yesterday

    Profile
    Rank: Genius
  2. hanccocka

    57,868

    Master

    2,800 points yesterday

    Profile
    Rank: Genius
  3. kevinhsieh

    53,840

    Master

    0 points yesterday

    Profile
    Rank: Genius
  4. keith_alabaster

    49,846

    0 points yesterday

    Profile
    Rank: Genius
  5. Darr247

    46,924

    0 points yesterday

    Profile
    Rank: Genius
  6. pergr

    41,116

    0 points yesterday

    Profile
    Rank: Master
  7. donjohnston

    36,633

    2,000 points yesterday

    Profile
    Rank: Genius
  8. rigan123

    34,141

    0 points yesterday

    Profile
    Rank: Guru
  9. nazsky

    32,574

    0 points yesterday

    Profile
    Rank: Wizard
  10. erniebeek

    31,778

    10 points yesterday

    Profile
    Rank: Genius
  11. ve3ofa

    30,145

    664 points yesterday

    Profile
    Rank: Genius
  12. thinkpads_user

    27,941

    0 points yesterday

    Profile
    Rank: Genius
  13. mattvmotas

    26,898

    0 points yesterday

    Profile
    Rank: Sage
  14. eeRoot

    26,578

    0 points yesterday

    Profile
    Rank: Wizard
  15. fmarshall

    26,541

    0 points yesterday

    Profile
    Rank: Wizard
  16. craigbeck

    26,240

    0 points yesterday

    Profile
    Rank: Sage
  17. TimotiSt

    25,004

    2,000 points yesterday

    Profile
    Rank: Master
  18. fgasimzade

    23,834

    0 points yesterday

    Profile
    Rank: Wizard
  19. RobWill

    23,300

    0 points yesterday

    Profile
    Rank: Savant
  20. arnold

    22,913

    0 points yesterday

    Profile
    Rank: Genius
  21. leew

    21,174

    0 points yesterday

    Profile
    Rank: Savant
  22. Netty

    20,562

    0 points yesterday

    Profile
    Rank: Guru
  23. chakko

    20,000

    0 points yesterday

    Profile
    Rank: Genius
  24. Soulja

    19,800

    0 points yesterday

    Profile
    Rank: Genius
  25. DaveBaldwin

    17,908

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame