No TTL in `host cname_show`
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- Python
- Stars
- 2
- Forks
- 7
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 2
Description
It is impossible to display the TTL of a CNAME, as far as I can tell... (?)
host info will display TTL of A-record.
host cname_show only display the target of the CNAME.
IMO host cname_show should display the TTL as well.
PS.
You are able to set the TTL with host set_ttl <cname> <ttl>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in mreg_cli/host.py at the referenced host cname_show implementation and compare it with the host info behavior that displays an A-record TTL. Check the related host.py command section around lines 1386-1429. Done means host cname_show displays the CNAME target and its TTL, including values set through host set_ttl.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100