2

Assume a CNAME record pointing to a domain name that is handled by a different server than the one the CNAME record resides on. For example

  • domain aaaaaaaa.com has authoritative name server dns.aisp.net
  • its zone file contains record www 7200 IN CNAME www.bbbbbbbb.com
  • domain bbbbbbbb.com has authoritative name server dns.bisp.org
  • its zone file contains record www 7200 IN A 222.222.222.222

Is it fine that dns.aisp.net is not the authoritative domain server for bbbbbbbb.com pointed to by the CNAME record, and contains no information about bbbbbbbb.com or www.bbbbbbbb.com? Will it prevent any modern software/browser/OS from accessing www.aaaaaaaa.com? I can restrict to http and https, if that helps.

  • 3
    In your questions please refrain from using random domain names and use either your own domain or one of the RFC 6761 reserved domain names such as example.com, example.org or similar . Please refer to this Q&A for our recommendations with regards to how and what (not) to obfuscate in your questions. – HBruijn Jun 14 '16 at 13:14
  • 5
    In short, you can point a CNAME record to any hostname, regardless of who owns and operates that domain. – HBruijn Jun 14 '16 at 13:17
5

Is it fine that dns.aisp.net is not the authoritative domain server for bbbbbbbb.com pointed to by the CNAME record, and contains no information about bbbbbbbb.com or www.bbbbbbbb.com?

Yes. This is fine.

Will it prevent any modern software/browser/OS from accessing www.aaaaaaaa.com?

No.

As HBruijn mentions in his comment, the CNAME can point to anywhere. If you owned the domain example.com, you could create a CNAME for notmydomain which points to www.example.org which you don't own/manage and users pointing their browser to notmydomain.example.com would connect to www.example.org

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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