-2

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?

1

1 Answer 1

4

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.

5
  • From what I understand.... it's possible... serverfault.com/questions/55528/…
    – Brett G
    Aug 27, 2009 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, 2009 at 21:51
  • I don't need to delegate it at all.... would it be possible then?
    – Brett G
    Aug 28, 2009 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, 2009 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, 2009 at 8:25

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