dns_adapter 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02c19670fbd1108a45d6c80bdac4329a77e784d2
4
- data.tar.gz: 9a725d4d553ebec3386a505ee01ab6ce9a92a303
3
+ metadata.gz: 1b0483dc7da91d95937b2dff3030112364e6bf83
4
+ data.tar.gz: 0533d3a5065cbb55d1e0437ca6167a86fedfa7ab
5
5
  SHA512:
6
- metadata.gz: 49fb8d15b30460c3034f36002fc5c891ff6dd02f44266d4c445b1e74f0a75bf9561ffff8993ece11fd5abb94e33466bfdea4e9b97d80363288a978585393022a
7
- data.tar.gz: 4bf6e56344dae4e03a5ab49cd45d31d4a6060686d41668191ce66158d41ab928f18d0217d55790d80744cf1a8f7a688198dc3080a76a705944112b7398d78a69
6
+ metadata.gz: 7b9fd402afa3ae99570c873d97bbaa3c76636101581836bb446555acf63328f4977cf0e0d8a44de419e13d4619facec6170eb9883a882ef6bd6d7a6b00bd3229
7
+ data.tar.gz: 453f44dc46487bb078e4842c3b9606248f83b805ee70bedce1184e0f54361e30e7bf34b939a7be642b88a63ebb6164617f5c9d5b1d19d9c3f488d08c3afe0abb
@@ -26,6 +26,10 @@ module DNSAdapter
26
26
  fetch_records(arpa_address, 'PTR')
27
27
  end
28
28
 
29
+ def fetch_ns_records(domain)
30
+ fetch_records(domain, 'NS')
31
+ end
32
+
29
33
  def fetch_txt_records(domain)
30
34
  fetch_records(domain, 'TXT')
31
35
  end
@@ -75,6 +79,7 @@ module DNSAdapter
75
79
  'AAAA' => :address,
76
80
  'MX' => :exchange,
77
81
  'PTR' => :name,
82
+ 'NS' => :name,
78
83
  'SPF' => :text,
79
84
  'TXT' => :text
80
85
  }
@@ -1,3 +1,3 @@
1
1
  module DNSAdapter
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dns_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter M. Goldstein