mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-24 23:00:19 +03:00
1 parent
fc9c0abe70
commit
825d90c22b
2 files changed
+44
No files matched your search
@@ -0,0 +1,31 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { useQueryParam } from '@/composable/queryParams';
|
||||||
|
|
||||||
|
const domain = useQueryParam({ tool: 'whois-checker', name: 'domain', defaultValue: '' });
|
||||||
|
|
||||||
|
function launchWhois() {
|
||||||
|
if (!domain.value.trim()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// Construct WHOIS URL
|
||||||
|
const url = `https://www.iana.org/whois?q=${encodeURIComponent(domain.value)}`;
|
||||||
|
window.open(url, '_blank');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div style="max-width: 600px">
|
||||||
|
<c-input-text
|
||||||
|
v-model:value="domain"
|
||||||
|
label="Domain to check:"
|
||||||
|
label-position="left"
|
||||||
|
placeholder="Enter a domain (e.g. example.com)"
|
||||||
|
mb-2
|
||||||
|
/>
|
||||||
|
<n-space justify="center">
|
||||||
|
<n-button type="primary" @click="launchWhois">
|
||||||
|
Lookup WHOIS
|
||||||
|
</n-button>
|
||||||
|
</n-space>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
import { World } from '@vicons/tabler';
|
||||||
|
import { defineTool } from '../tool';
|
||||||
|
|
||||||
|
export const tool = defineTool({
|
||||||
|
name: 'Whois Checker',
|
||||||
|
path: '/iana-whois-checker',
|
||||||
|
description: 'Check whois for a domain using IANA Website',
|
||||||
|
keywords: ['iana', 'whois', 'checker'],
|
||||||
|
component: () => import('./iana-whois-checker.vue'),
|
||||||
|
icon: World,
|
||||||
|
createdAt: new Date('2025-10-03'),
|
||||||
|
category: 'Network',
|
||||||
|
});
|
||||||
Reference in new issue
Block a user