this post was submitted on 17 Mar 2025
4 points (100.0% liked)

Sysadmin

8378 readers
1 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
[email protected]
[email protected]
[email protected]
[email protected]

founded 2 years ago
MODERATORS
 

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

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 5 days ago (1 children)

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?

[–] [email protected] 1 points 5 days 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...