-
{{ msg }}
-
- For a guide and recipes on how to configure / customize this project,
- check out the
- vue-cli documentation.
-
-
Installed CLI Plugins
-
-
Essential Links
-
-
Ecosystem
-
+
+
+
+
+
+
+
+
Please enter a domain
+
+
+
Whois
+
+ -
+ Registrar: {{ reg }}
+
+ -
+ Status: {{ stat }}
+
+
+
-
+ Registrant Name: {{ reg }}
+
+ -
+ Eligibility ID: {{ reg }}
+
+ -
+ Eligibility Type: {{ reg }}
+
+
+ -
+ Creation Date: {{ cd }}
+
+ -
+ Nameserver: {{ ns }}
+
+
+
DNS Records
+
+ - A: {{ a }}
+ -
+ AAAA: {{ aaaa }}
+
+ -
+ MX: {{ mx[1] }} PRI: {{ mx[0] }}
+
+ -
+ TXT: {{ txt }}
+
+ - NS: {{ ns }}
+ -
+ SOA: {{ soa }}
+
+
+
+
diff --git a/src/components/HistoryList.vue b/src/components/HistoryList.vue
new file mode 100644
index 0000000..efc9121
--- /dev/null
+++ b/src/components/HistoryList.vue
@@ -0,0 +1,42 @@
+
+
+
+ - Lookup 1
+ - Lookup 2
+ - Lookup 3
+ - Lookup 4
+ - Lookup 5
+ - Lookup 6
+
+
+
+
+
+
+
diff --git a/src/services/doRequest.js b/src/services/doRequest.js
new file mode 100644
index 0000000..2328498
--- /dev/null
+++ b/src/services/doRequest.js
@@ -0,0 +1,25 @@
+function getRecords(id) {
+ let URL = "http://10.6.9.42:5000/lookup/";
+ // id = "mmorison.com";
+
+ let domain = URL + id;
+ let request = new XMLHttpRequest();
+
+ return new Promise(function(resolve, reject) {
+ request.onreadystatechange = function() {
+ if (request.readyState !== 4) return;
+ if (request.status >= 200 && request.status <= 300) {
+ resolve(request.responseText);
+ } else {
+ reject({
+ status: request.status,
+ statusText: request.statusText,
+ });
+ }
+ };
+ request.open("GET", domain, true);
+ request.send();
+ });
+}
+
+module.exports = getRecords;