Hacker News new | past | comments | ask | show | jobs | submit login
What happens if you point two CNAMEs at each other? Not much, really (alexanderell.is)
58 points by otras on Aug 15, 2022 | hide | past | favorite | 8 comments



Disappointing. I would have thought that doing this would result in them spinning around each other at the speed of light and then like two black holes colliding, sending an explosive shockwave through the Internet.

Sorry to hear that not much happens. Nothing cool ever works out the way you hope it might.


We would have found a renewable and clean energy source :(


Played a bit around with this a few years back. Made an endless chain of CNAMEs to see how resolvers would handle it. Turned that nothing (bad) happened as the resolvers gave up after a while


Wonder what metric(s) make them decide to quit?


I would have thought there is some form of loop detection, similar how mailservers ckeck for it in email forwarding or autoresponding


Either a hard limit on the number of jumps, or Floyd's Tortoise and Hare Algorithm.


Don't forget to add a dot at the end of the line to make it work.

www.example.com CNAME exemple.com.


comments in bind start with ;




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: