barnybug / cli53

Command line tool for Amazon Route 53

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to remove records from SRV list?

davidcsi opened this issue · comments

Hello,

I can create SRV records like:

~$ cli53 rrcreate test.com '_sip_udp 30 SRV 10 1 5060 proxy-01'
Created record: '_sip._udp.test.com. 30 IN SRV 10 1 5060 proxy-01.test.com.'

and append to it like:

~$ cli53 rrcreate --append test.com '_sip_udp 30 SRV 10 1 5060 proxy-02'
Created record: '_sip._udp.test.com. 30 IN SRV 10 1 5060 proxy-02.test.com.'

to end up with an SRV like:

10 1 5060 proxy-01
10 1 5060 proxy-02

Is there a way or removing records? i.e. deleting proxy-01 and end up with:

10 1 5060 proxy-02

?

Thanks for this utility, it's great!

Use --replace with the updated list.