mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 01:16:00 -06:00
Use absolute @/ style imports
- remove index.html
This commit is contained in:
99
index.html
99
index.html
@@ -1,99 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>RDAP Lookup - a private domain name lookup tool</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="./assets/bootstrap.min.css?v=2021112213" />
|
||||
<link rel="shortcut icon" href="public/shortcut-icon.svg?v=2021112213" />
|
||||
<meta name="description" content="A completely private domain name lookup tool using RDAP (the replacement for Whois)" />
|
||||
<meta name="keywords" content="rdap, whois, rdap, domain name, dns, ip address" />
|
||||
<script src="assets/ipaddr.js/ipaddr.min.js?v=2021122209"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark shadow-sm">
|
||||
<span class="text-white font-weight-bold" style="font-size:larger">
|
||||
<a class="navbar-brand" href="#">RDAP.ORG</a>
|
||||
</span>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar1" aria-controls="navbar1" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbar1">
|
||||
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://about.rdap.org/">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="https://client.rdap.org/">Web Client</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://deployment.rdap.org/">Deployment Dashboard</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<br/>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<form onsubmit="doQuery();return false" class="form-inline">
|
||||
<div class="col" style="padding:0">
|
||||
<div class="input-group">
|
||||
|
||||
<div class="input-group-prepend">
|
||||
<select class="custom-select" id="type" name="type" onchange="getPlaceholder(this.options[this.selectedIndex].value)">
|
||||
<option value="domain" selected>Domain</option>
|
||||
<option value="tld">TLD</option>
|
||||
<option value="ip">IP/CIDR</option>
|
||||
<option value="autnum">AS Number</option>
|
||||
<option value="entity">Entity</option>
|
||||
<option value="registrar">Registrar</option>
|
||||
<option value="url">URL</option>
|
||||
<option value="json">JSON</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<input class="form-control" id="object" type="text" name="object" placeholder="example.com" required onKeyUp={() => {}} />
|
||||
<div class="input-group-append">
|
||||
<input id="button" type="button" value="Submit" onclick="doQuery()" class="btn btn-primary" disabled/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="container" style="padding:0;font-size:small;font-style:italic;color:#aaa">
|
||||
<div class="col" style="padding:0.75em 0 0.25em 0">
|
||||
Options:
|
||||
<label for="request-jscontact">
|
||||
<input name="request-jscontact" id="request-jscontact" type="checkbox">
|
||||
Request JSContact
|
||||
</label>
|
||||
|
||||
<label for="follow-referral">
|
||||
<input name="follow-referral" id="follow-referral" type="checkbox">
|
||||
Follow referral to registrar's RDAP record
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="output-div"></div>
|
||||
|
||||
<p>This page implements a <em>completely private lookup tool</em> for domain names, IP addresses and Autonymous System Numbers (ASNs). Only the relevant registry sees your query: your browser will directly connect to the registry's RDAP server using an encrypted HTTPS connection to protect the confidentiality of your query. If you click the "Follow referral to registrar's RDAP record" checkbox, then the sponsoring registrar may also see your query.</p>
|
||||
<ul>
|
||||
<li><a href="https://about.rdap.org" target="_new">Click here</a> for more information about what RDAP is and how it differs from traditional Whois.</li>
|
||||
<li>Most generic TLDs now support RDAP, but only a few ccTLDs have deployed RDAP so far. To see which TLDs support RDAP, <a href="https://deployment.rdap.org" target="_new">click here</a>.</li>
|
||||
<li>There is no bootstrap registry for top-level domains or ICANN-accredited registrars; instead these queries are sent to the <a href="https://about.rdap.org/#additional" target="_new">{root,registrars}.rdap.org servers</a>.</li>
|
||||
<li>To submit feedback, <a href="mailto:feedback@rdap.org">click here</a>. Please contact the relevant registry or registrar if you have an issue with the content of an RDAP response.</li>
|
||||
<li>This tool is Free Software; for the license, <a href="LICENSE">click here</a>. To fork a copy of the git repository, <a rel="noopener" target="_new" href="https://gitlab.centralnic.com/centralnic/rdap-web-client">click here</a>.</li>
|
||||
<li>This page uses <a rel="noopener" target="_new" href="https://github.com/whitequark/ipaddr.js/">ipaddr.js</a> by <a rel="noopener" target="_new" href="https://whitequark.org/">whitequark</a>.</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
loadRegistries();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, {Fragment, FunctionComponent, ReactNode} from "react";
|
||||
import {DomainType} from "./DomainType";
|
||||
import {rdapStatusInfo} from "../constants";
|
||||
import type {FunctionComponent, ReactNode} from "react";
|
||||
import React, {Fragment} from "react";
|
||||
import type {DomainType} from "@/components/DomainType";
|
||||
import {rdapStatusInfo} from "@/constants";
|
||||
|
||||
export type DomainProps = {
|
||||
data: DomainType;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type {FunctionComponent} from "react";
|
||||
import {useMemo} from "react";
|
||||
import Domain from "./Domain";
|
||||
import Domain from "@/components/Domain";
|
||||
|
||||
export type Link = {
|
||||
value: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {FunctionComponent} from "react";
|
||||
import type {FunctionComponent} from "react";
|
||||
|
||||
export type Event = {
|
||||
eventAction: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// see https://www.iana.org/assignments/rdap-json-values
|
||||
import type {ExtendedUri, RdapStatusType, Uri} from "./types";
|
||||
import type {ExtendedUri, RdapStatusType, Uri} from "@/types";
|
||||
|
||||
export const rdapStatusInfo: Record<RdapStatusType, string> = {
|
||||
"validated": "Signifies that the data of the object instance has been found to be accurate. This type of status is usually found on entity object instances to note the validity of identifying contact information.",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import ipaddr from "ipaddr.js";
|
||||
import {registryURLs, rdapStatusInfo, placeholders} from "./constants";
|
||||
import type {Uri} from "./types";
|
||||
import {rdapStatusInfo, registryURLs} from "@/constants";
|
||||
import type {Uri} from "@/types";
|
||||
|
||||
// keeps track of how many registries we've loaded
|
||||
let loadedRegistries = 0;
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2017",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
@@ -14,8 +18,25 @@
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"incremental": true,
|
||||
"noUncheckedIndexedAccess": true
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"baseUrl": "./src/",
|
||||
"paths": {
|
||||
"@/config/*": [
|
||||
"../config/*"
|
||||
],
|
||||
"@/*": [
|
||||
"./*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"],
|
||||
"exclude": ["node_modules"]
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"**/*.cjs",
|
||||
"**/*.mjs"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user