danielpigott / cloudflare-cli

CLI for interacting with Cloudflare
MIT License
212 stars 42 forks source link

Puny code support needed #83

Open ckcks12 opened 1 year ago

ckcks12 commented 1 year ago

https://github.com/danielpigott/cloudflare-cli/blob/f4f22e60061d09143d41c40c9825a2fa3e1f3523/index.js#L364

puny code domain is registered as its original form in cloudflare zone name, etc.. however in records, puny code is used as the name of records. so that line makes finding puny code records hard. for example

zone name : 벌써겨울이네춥다추워.com records : A | xn--h89a28fosbp4s4sio7ecev9cj55a2e.com | 1.1.1.1

it should be found like "xn--h89a28fosbp4s4sio7ecev9cj55a2e.com" but that line makes it like "xn--h89a28fosbp4s4sio7ecev9cj55a2e.com.벌써겨울이네춥다추워.com"