Results 1 to 3 of 3

Thread: CNAME question

  1. #1
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    CNAME question

    Why do I need Canonical Name or CNAME record in my DNS entry?

    Can I skip it and able to do my domain and mail stuff? I have MX and A record already in my DNS entry.

    According to this, CNAME records is going to be obsolete in the future mailers.

    So can I go in without having CNAME entry? Please explain me with this example.

    My domain :: www.compunuts.org
    Mymail: mail.compunuts.org ( so that compunuts@mail.compunuts.org comes to me )

    MX 24.6.242.000
    CNAME mail.compunuts.org
    A 24.6.242.000

    TIA ..
    [Edited] For screwed UBB tags

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Posts
    421

    Re:CNAME question

    You absolutely don't need a CNAME record. As a matter of fact you should never have an MX entry point to a CNAME but rather it should point to an A record. (Same goes for SOA and CNAME).

    CNAME is good for having one machine answer to several names but not using it if not needed is good DNS practice.

    I recommend the DNS HOWTO by Nicolai Langfeldt available at tldp.org to get a good overview about DNS administration.

  3. #3

    Re:CNAME question

    [quote author=Compunuts link=board=4;threadid=8234;start=0#msg74698 date=1070443019]
    Why do I need Canonical Name or CNAME record in my DNS entry?

    Can I skip it and able to do my domain and mail stuff? I have MX and A record already in my DNS entry.
    [/quote]

    I don't use CNAME in my DNS entries simply because it can derail response on your DNS lookup.

    To clarify my points,

    Here's an example of CNAME:
    PPP A 192.168.0.1
    SMTP CNAME PPP
    WWW CNAME PPP

    As you can see when resolving IP for WWW it takes few steps before resolving.

    Here's a better way to do CNAME
    PPP A 192.168.0.1
    SMTP A 192.168.0.1
    WWW A 192.168.0.1

    Hope this helps.


Similar Threads

  1. 1 of my many question to come
    By gentoo in forum Linux - General Topics
    Replies: 1
    Last Post: 11-07-2004, 07:37 PM
  2. Web Question
    By GhostDawg in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 02-08-2004, 08:16 AM
  3. A question
    By mcdougrs in forum General Chat
    Replies: 25
    Last Post: 12-14-2002, 03:23 PM
  4. KDE 2.2.2 Question
    By stryder144 in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 11-23-2002, 08:06 AM
  5. SSH question
    By binary_boy in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 05-16-2002, 08:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •