diff --git a/examples/test-output b/examples/test-output new file mode 100644 index 0000000..d5c8d17 --- /dev/null +++ b/examples/test-output @@ -0,0 +1,114 @@ +I created a subdomain for `daplie.pe` named `delegated.daplie.pe`. + +Below are the results of the `whois`, `dig`, and `dig.js` commands. + +============================ + +Users-MBP:~ jim$ whois daplie.pe +Domain Name: daplie.pe +WHOIS Server: NIC .PE +Sponsoring Registrar: 1API GmbH +Domain Status: clientTransferProhibited +Domain Status: clientUpdateProhibited +Domain Status: clientDeleteProhibited +Domain Status: clientRenewProhibited +Registrant Name: Daplie Labs +Admin Name: Daplie Labs +Admin Email: domains@daplie.com +Name Server: ns27.domaincontrol.com +Name Server: ns28.domaincontrol.com +DNSSEC: unsigned +>>> Last update of WHOIS database: 2017-08-15T19:49:36.243Z <<< + + +================================ + +Users-MBP:~ jim$ dig delegated.daplie.pe @ns27.domaincontrol.com + +; <<>> DiG 9.8.3-P1 <<>> delegated.daplie.pe @ns27.domaincontrol.com +;; global options: +cmd +;; Got answer: +;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37275 +;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 +;; WARNING: recursion requested but not available + +;; QUESTION SECTION: +;delegated.daplie.pe. IN A + +;; ANSWER SECTION: +delegated.daplie.pe. 600 IN A 50.63.202.28 + +;; AUTHORITY SECTION: +daplie.pe. 3600 IN NS ns28.domaincontrol.com. +daplie.pe. 3600 IN NS ns27.domaincontrol.com. + +;; Query time: 29 msec +;; SERVER: 216.69.185.14#53(216.69.185.14) +;; WHEN: Tue Aug 15 13:54:23 2017 +;; MSG SIZE rcvd: 108 + +=================================== + +Finding JSON information through dig -- used website `dig.jsondns.org` with the query format (URL) +`dig.jsondns.org/IN/delegated.daplie.pe/A` : + +{ + "header": { + "id": 59404, + "qr": true, + "opcode": "Query", + "aa": false, + "ad": false, + "tc": false, + "rd": true, + "ra": true, + "cd": true, + "rcode": "NOERROR", + "qdcount": 1, + "nscount": 0, + "ancount": 1, + "arcount": 0 + }, + "question": [ + { + "qname": "delegated.daplie.pe", + "qtype": "A", + "qclass": "IN" + } + ], + "answer": [ + { + "name": "delegated.daplie.pe", + "type": "A", + "class": "IN", + "ttl": 600, + "rdata": "184.168.221.5" + } + ], + "authority": [ + + ], + "additional": [ + + ] +} + + +================================================== + +Output from `dig.js delegated.daplie.pe`: + +Users-MBP:dig.js jim$ dig.js delegated.daplie.pe + +; <<>> dig.js v0.0.0 <<>> delegated.daplie.pe +;; Got answer: +;; ->>HEADER<<- +{"id":24943,"qr":1,"opcode":0,"aa":0,"tc":0,"rd":1,"ra":1,"res1":0,"res2":0,"res3":0,"rcode":0} + +;; QUESTION SECTION: +;delegated.daplie.pe. IN ANY + +;; ANSWER SECTION: +;delegated.daplie.pe. 599 IN A 50.63.202.18 + +;; MSG SIZE rcvd: 53 \ No newline at end of file