Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CNAME

Status
Not open for further replies.

rankar

IS-IT--Management
Joined
Jul 30, 2001
Messages
60
Location
US
Can someone help with the proper way to write out a cname in dns?

Thanks,
R.G.
 
Hi,

You can do it with fully qualified names...

smtp.mydomain.com. IN CNAME mail.mydomain.com.
pop3.mydomain.com. IN CNAME mail.mydomain.com
mail.mydomain.com. IN A 172.16.16.1

Or (without the period at the end) as being within the domain on the SOA record...

smtp IN CNAME mail
pop3 IN CNAME mail
mail IN A 172.16.16.1

If you're running bind 9 you can use the new 'DNAME' record to alias a whole domain :

new.mydomain.com. IN DNAME old.mydomain.com.

Hope this helps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top