TonicDnscli.TONICDNS CLI µµ±¸ | |
Áö±Ý ´Ù¿î·Îµå |
TonicDnscli. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- GPL v3
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Kouhei Maeda
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/mkouhei/
TonicDnscli. ű×
TonicDnscli. ¼³¸í
TonicDnsCli´Â TonicDNS API.TonicDNS°¡ PowerDNÀ»À§ÇÑ REST°¡ÀÖ´Â API¸¦À§ÇÑ ¸í·É ÁÙ µµ±¸ÀÔ´Ï´Ù. readble ÅؽºÆ® ·¹Äڵ带 jsonÀ¸·Î º¯È¯ÇÏ°í, tonicdns.setup git clone https://github.com/mkouhei/tonicdnscli cd¿Í ÇÔ²² ¿µ¿ª ·¹Äڵ带 »ý¼ºÇϰųª »èÁ¦ÇÕ´Ï´Ù. suppliet python setup.py installusageinput ÆÄÀÏ (example.org.txt) # À̸§ À¯Çü ÄÜÅÙÃ÷ TTL Priority Test0.Example.org A 10.10.10.1086400 Test1.1186400 Test2.1186400 example.example.org example.org mx mx.example.org 864000 example.org mx mx2.example .org 8640010 mx.example.org A 10.10.11.103600 MX2.Example.org A 10.10.11.103600PRINT º¯È¯ µÈ JSON $ TONICDNSCLI »ùÇà / example.org.txt { "·¹ÄÚµå": [{ "ÄÜÅÙÃ÷": 10.10. 10.10 ","name ":"test0.example.org ","ttl ":"86400 ","type ":"a "}, {"content ":"10.10.10.11 ","name ":"test1. example.org ","ttl ":"86400 ","À¯Çü ":"}, { "³»¿ë": "10.10.10.12": "name": test2.example.org ","ttl ":" 86400 ","À¯Çü ":"a "}, (snip) ·¹ÄÚµå $ tonicdnscli get -s ns.example.org -d example.org -u tonicusername -p {"name ":"example.org ","noreified_serial ":"201202140. 2 ","·¹ÄÚµå ": [{"ÄÁÅÙÃ÷ ":"ns.example.org hostmaster.example.org 2012021402 ","name ":"example.org ","¿ì¼± ¼øÀ§ ": null": "86400" "type": "soa"}, { "content": "ns.example.org", "name": "example.org", "¿ì¼± ¼øÀ§": null, "ttl": "86400", "type" : "ns"}, (SNIP) ·¹ÄÚµå ¸¸µé±â TonicDnsCli create -s ns.example.org -u tonicusername -p sample / example.org.txt truedelete ·¹ÄÚµå TonicDnsCli »èÁ¦ - ns.example.org -u tonicusername -p »ùÇà / example.org.txt TRUEProductÀÇ È¨ÆäÀÌÁö
TonicDnscli. °ü·Ã ¼ÒÇÁÆ®¿þ¾î