Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to configure my DNS on my VPS through WHM. I need like to add two CNAME records and no A records. I've read that this is possible and it works... even though apparently it violates the RFC.

* CNAME apps.otherdomain.com
domainname.com CNAME otherdomain.com

However, WHM does not seem to want to do this. Is it just that WHM doesn't want to do this? Can I do this if I dig into bind?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You can't have a CNAME as the root of your zone, since it also has an SOA record, and a CNAME can't co-exist with any other type of record.

share|improve this answer
    
From what I understand.... it's possible... serverfault.com/questions/55528/… –  Brett G Aug 27 '09 at 21:46
    
The only thing I can assume is that either they've hacked their namesever, or they're putting the CNAME in the parent zone, and not delegating it at all. The fact that the query returned only a CNAME would tend to confirm my thoery. –  Cian Aug 27 '09 at 21:51
    
I don't need to delegate it at all.... would it be possible then? –  Brett G Aug 28 '09 at 3:16
    
If it's not being delegated to you either (i.e. it doesn't need an SOA/NS record) then yes. Otherwise no. –  Cian Aug 28 '09 at 8:10
    
Assuming that you don't want to use any of it's sub domains, it appears it would be possible to do something similar with DNAME informit.com/articles/article.aspx?p=19798 –  Cian Aug 28 '09 at 8:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.