README.md in flareon-1.0.2 vs README.md in flareon-1.0.3
- old
+ new
@@ -26,9 +26,23 @@
# "Question"=>[{"name"=>"google.com.", "type"=>1}],
# "Answer"=>[{"name"=>"google.com.", "type"=>1, "TTL"=>83, "data"=>"172.217.1.46"}]
# }
```
+Single-threaded DNS query (IPv6) over HTTPs for multiple domains:
+```ruby
+domains = ["google.com", "github.com", "microsoft.com", "apple.com"]
+
+results = Flareon.batch_query(domains, type: "AAAA")
+```
+
+Multi-threaded DNS query (IPv4) over HTTPs for multiple domains:
+```ruby
+domains = ["google.com", "github.com", "microsoft.com", "apple.com"]
+
+results = Flareon.batch_query_multithreaded(domains, threads: 4)
+```
+
Get the raw JSON response:
```ruby
json = Flareon.query("google.com", json: true)
```