| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-13-2008, 11:11 AM
|
#1
|
|
Member
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65
Rep:
|
BIND 9 CNAME propagation issue
hi,
I have a problem with configuring CNAME record. CNAME is working fine but when i use it to configure CNAME for the zone name its not propagated to the secondary server. below is a sample of my configuration:
#mydomain.com zone file.
IN CNAME test.com
please note the configuration on the named.conf is correct on primary and secondary servers.
thx
rahmad
|
|
|
|
08-13-2008, 05:52 PM
|
#2
|
|
Member
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159
Rep:
|
You can't CNAME entire domains.
Use DNAME.
http://tools.ietf.org/html/rfc2672
|
|
|
|
08-14-2008, 02:26 AM
|
#3
|
|
Member
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65
Original Poster
Rep:
|
great! I haven't heard before about DNAME RR
but I would like to know if there is no impact on the other defined RRs, for example:
I have the following defined
IN DNAME test.cim
www IN A 1.2.3.4
ftp IN A a.b.c.d
www and ftp subdomains are remain intact after I add the DNAME record for the entire domain? please confirm?? because I have a live setup and I don't want to do anything wrong.
|
|
|
|
08-14-2008, 04:09 AM
|
#4
|
|
Member
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65
Original Poster
Rep:
|
After I read thoroughly about DNAME it seems that
www.mydomain.com will be redirected to www.test.com
ftp.mydomain.com will be redirected to ftp.test.com
but I dont need this, I only want to redirect my domain only like below
mydomain.com will be redirected to test.com ONLY
what do you think?? any thoughts??
CNAME works fine but the problem it is not propagated to my secondary server!!
|
|
|
|
08-14-2008, 05:26 AM
|
#5
|
|
Member
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65
Original Poster
Rep:
|
I found that in RFC 1034 that if you configure CNAME on the node no other data should be configured please see below:
http://www.ietf.org/rfc/rfc1034.txt
anyone has faced this before?? any ideas?? shall I remove the other RRs??
|
|
|
|
08-15-2008, 02:35 AM
|
#6
|
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
|
Trying to CNAME an entire domain is pretty ugly IMO. Better off to use HTTP redirects for the website, but whatever... meh.
If the RFC says only the CNAME should exist, than yes remove the other RRs.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:37 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|