Guida pratica

Domain Lookup — Guida all’uso e principi tecnici

Query domain name DNS records, resolve to IP addresses, test connectivity with ping, and display geolocation information

Apri lo strumento

Panoramica

Lo strumento di ricerca dominio interroga i record DNS per risolvere i nomi di dominio in indirizzi IP, testa la connettività del server con ping e visualizza informazioni di geolocalizzazione. Adatto per la risoluzione dei problemi di rete, l'analisi DNS, il monitoraggio del server e la gestione del dominio.

Concetti chiave

DNS over HTTPS (DoH)

DNS over HTTPS is a protocol that encrypts DNS queries using HTTPS, improving privacy and security. This tool uses Google DNS and Cloudflare DNS DoH services to resolve domain names. DoH queries are sent over HTTPS connections, preventing DNS query interception and tampering. The tool implements automatic failover: if Google DNS fails, it automatically switches to Cloudflare DNS to ensure query success rate.

HTTP Ping Implementation

Since Cloudflare Workers does not support ICMP ping, this tool uses HTTP HEAD requests to simulate ping functionality. HEAD requests only retrieve response headers without downloading content, making them faster than GET requests. The tool measures the time from sending the request to receiving the response header, calculating response time. It supports both HTTP and HTTPS protocols, allowing users to test different service endpoints.

Domain Name Format Validation

Domain name validation follows RFC 1123 standards: domain names consist of labels separated by dots, each label can contain letters, numbers, and hyphens, must start and end with alphanumeric characters, maximum length 63 characters per label, total domain name length maximum 253 characters. The tool automatically removes protocol prefixes (http://, https://) and www prefixes before validation, ensuring accurate domain name parsing.

IP Geolocation Integration

After resolving domain names to IP addresses, the tool automatically queries geolocation information for the first IP address using the existing IP lookup API. This integration provides complete domain analysis: DNS resolution, IP address display, and geolocation visualization. The geolocation data includes country, region, city, coordinates, ISP, ASN, and other network information, displayed on an interactive map for intuitive visualization.

Features

DNS Resolution

Resolve domain names to IP addresses using DNS over HTTPS (DoH), supporting multiple DNS providers with automatic failover for high availability

Ping Testing

Test domain connectivity using HTTP HEAD requests, measure response time, and check HTTP/HTTPS status codes to verify server availability

Geolocation Display

Automatically query geolocation information for resolved IP addresses, displaying country, region, city, coordinates, and network information on an interactive map

Multiple IP Support

Display all IP addresses resolved from domain name A records, supporting domains with multiple IP addresses for load balancing or CDN configurations

Domande frequenti

Perché ping usa HTTP HEAD invece di ICMP?

Cloudflare Workers (dove viene eseguito questo strumento) non supporta il protocollo ICMP ping. Le richieste HTTP HEAD vengono utilizzate come alternativa: testano la connettività del server, misurano il tempo di risposta e controllano i codici di stato HTTP. Sebbene non identico a ICMP ping, HTTP ping fornisce funzionalità simili per strumenti basati sul web e funziona meglio negli ambienti del browser.

Qual è la differenza tra ricerca DNS e ping?

La ricerca DNS risolve i nomi di dominio in indirizzi IP interrogando i server DNS. Ping testa la connettività del server inviando richieste HTTP e misurando il tempo di risposta. La ricerca DNS ti dice dove punta il dominio (indirizzi IP), mentre ping ti dice se il server è raggiungibile e quanto velocemente risponde. Entrambi sono utili per la risoluzione dei problemi di rete.

Perché un dominio potrebbe avere più indirizzi IP?

I domini possono avere più indirizzi IP per diverse ragioni: 1) Bilanciamento del carico - distribuzione del traffico su più server;2) Ridondanza - server di backup per alta disponibilità;3) CDN - le reti di distribuzione dei contenuti utilizzano più IP in posizioni diverse;4) DNS Round-robin - rotazione tra più server. Lo strumento visualizza tutti gli indirizzi IP risolti.

Quanto sono accurate le informazioni di geolocalizzazione?

L'accuratezza della geolocalizzazione dipende dall'allocazione e dal routing degli indirizzi IP. Tipicamente accurata a livello di città o regione, non indirizzi fisici precisi. Per CDN e servizi cloud, la geolocalizzazione può mostrare posizioni dei data center piuttosto che posizioni effettive del server. Le reti mobili e le VPN possono mostrare posizioni ISP piuttosto che posizioni degli utenti. La posizione è approssimativa e basata su intervalli di indirizzi IP.

Documentazione correlata

  • RFC 1035 - Domain Names

    Official DNS protocol specification, defining domain name structure, DNS query format, and record types

  • RFC 8484 - DNS over HTTPS

    DNS over HTTPS (DoH) protocol specification, defining how to send DNS queries over HTTPS

  • Google DNS Documentation

    Google Public DNS service documentation, including DNS over HTTPS API usage

  • Cloudflare DNS Documentation

    Cloudflare DNS over HTTPS service documentation and API reference

  • MDN - DNS

    Mozilla Developer Network DNS documentation, explaining DNS concepts and working principles

Domain Lookup

Apri lo strumento per provare queste funzionalità.

Apri lo strumento