V-change-dns-record what is the ID?

I want to use the command line to change a DNS A record, but the v-change-dns-record command asks for the DNS Record ID and I can’t figure out what that is? the examples show using 42 or 24 or 36, I don’t see an ID for any DNS records in the GUI?

v-list-dns-domain user domain

that shows me:

DOMAIN: mydomain.com
IP: ##.##.##.##
TEMPLATE: default
TTL: 14400
EXP: 2020-11-18
SOA: ns1.mynameserver.com
SERIAL: 2025022222
DNSSEC:
RECORDS: 23
SUSPENDED: no
TIME: 22:44:47
DATE: 2023-12-30

no mention of any IDs

Sorry v-list-dns-records user domain

1 Like

Thanks! That command “v-list-dns-records user domain” clearly shows the ID of each DNS record.

I had searched the entire CLI Reference page for “ID” and googled DNS ID hestiaCP and I could NOT figure this out.

To whomever can edit the CLI reference webpage, I would suggest a short “For the DNS Record ID use the command: v-list-dns-records user domain” in the instructions for this command on the page CLI Reference | Hestia Control Panel and also the next command v-change-dns-record-id

Thanks for the help eris!

1 Like