Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 09:27:29 -0500 (EST)
From:      hometeam <hometeam@techpower.net>
Cc:        Matthew Joseff <mjoseff@hellenco.com>, FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: CNAME vs A records (clarification)
Message-ID:  <Pine.BSF.4.21.0003130913260.8396-100000@techpower.net>
In-Reply-To: <Pine.BSF.4.05.10003130748560.20190-100000@buffnet11.buffnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Example:

mynet.net.          IN      A       192.168.0.1

foo 	                IN      CNAME   mynet.net.                                                         
bar                     IN      CNAME   mynet.net.                                                        
etc    	                IN      CNAME   mynet.net.                                                         
smtp                    IN      CNAME   mynet.net.                                                        
www                     IN      CNAME   mynet.net.                                          



Reverse


1.0.168.192.in-addr.arpa.     IN        PTR   mynet.net.   


all the above CNAMES are just aliases 

hope this helps....

> > Can someone correct and/or confirm my understanding of CNAME vs A records:
> > 
> > CNAME should be used for a host that exists on (potentially) another
> > server but uses that domain.
> > 
> > A records should be used as an alias for a host but co-exists with other
> > hosts.
> > 
> > So:
> > 
> > www	IN	A	(IP address)
> > foo	IN	A	(same IP as www)
> > bar	IN	CNAME	(some other IP or hostname)
> > etc	IN	A	(bar's hostname)
> > 
> > So in this case, bar should be the only one out of the four that has a
> > reverse entry?
> > 
> > I think I'm confusing myself.
> > 
> > -- 
> > Matthew Joseff       	|   #!/bin/sh
> > www.hellenco.com     	|    echo "What's your username again?"
> > mjoseff@hellenco.com 	|    read LUSER
> > 		     	|    rm -rf /home/$LUSER
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003130913260.8396-100000>