Silly question: Having CNAMEs for A records just makes sense, but why can’t we have a PTR redirect?

  • dohpaz42@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    23 hours ago

    PTR records do the opposite of an A record: it defines the IP address for a domain. Since CNAMEs are for domain name aliases, it wouldn’t quite work the same for PTR records.

    Now, my question to you is why do you want to alias an IP address?

    • flambonkscious@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 hours ago

      Thanks for that - I hadn’t thought about the rest of the domain in the name.

      I was purely thinking about it from a hypothetical risk-mitigation perspective.

      As you can imagine, keeping ‘the old crap around’ in case of a need to roll back would be handy in some migrations… Assuming the same IP complicates that.

      However, I guess a machine can have multiple IPs so it needn’t be too much of a drama if it’s just a matter of moving the original IP when rolling back…