Query domain name DNS records, resolve to IP addresses, test connectivity with ping, and display geolocation information
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
Usage Guide
- Enter Domain Name: Enter the domain name you want to query in the input box (e.g., example.com). The tool will automatically remove protocol prefixes (http://, https://) and www prefixes.
- Execute DNS Lookup: Click the 'Lookup' button or press Enter to query DNS records. The system will resolve the domain name to IP addresses using DNS over HTTPS (DoH) and display the results.
- Test Connectivity: Click the 'Ping' button to test domain connectivity using HTTP HEAD requests. Select HTTP or HTTPS protocol, and view response time and status code.
- View Results: View DNS resolution results (IP addresses), geolocation information (country, region, city, coordinates), network information (ISP, ASN), and map visualization.
Technical Details
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.
Frequently Asked Questions
- Ping neden ICMP yerine HTTP HEAD kullanıyor?
- Cloudflare Workers (bu aracın çalıştığı yer) ICMP ping protokolünü desteklemiyor. HTTP HEAD istekleri alternatif olarak kullanılır: sunucu bağlantısını test eder, yanıt süresini ölçer ve HTTP durum kodlarını kontrol eder. ICMP ping ile aynı olmasa da, HTTP ping web tabanlı araçlar için benzer işlevsellik sağlar ve tarayıcı ortamlarında daha iyi çalışır.
- DNS araması ile ping arasındaki fark nedir?
- DNS araması, DNS sunucularını sorgulayarak etki alanı adlarını IP adreslerine çözer. Ping, HTTP istekleri göndererek ve yanıt süresini ölçerek sunucu bağlantısını test eder. DNS araması size etki alanının nereyi işaret ettiğini (IP adresleri) söylerken, ping size sunucunun erişilebilir olup olmadığını ve ne kadar hızlı yanıt verdiğini söyler. Her ikisi de ağ sorun giderme için yararlıdır.
- Bir etki alanının neden birden fazla IP adresi olabilir?
- Etki alanları birkaç nedenden dolayı birden fazla IP adresine sahip olabilir: 1) Yük dengeleme - trafiği birden fazla sunucu arasında dağıtma;2) Yedeklilik - yüksek kullanılabilirlik için yedek sunucular;3) CDN - içerik dağıtım ağları farklı konumlarda birden fazla IP kullanır;4) Round-robin DNS - birden fazla sunucu arasında döndürme. Araç, çözümlenen tüm IP adreslerini görüntüler.
- Coğrafi konum bilgileri ne kadar doğru?
- Coğrafi konum doğruluğu IP adresi tahsisi ve yönlendirmesine bağlıdır. Genellikle şehir veya bölgesel seviyede doğrudur, kesin fiziksel adresler değildir. CDN ve bulut hizmetleri için coğrafi konum, gerçek sunucu konumları yerine veri merkezi konumlarını gösterebilir. Mobil ağlar ve VPN'ler kullanıcı konumları yerine ISP konumlarını gösterebilir. Konum yaklaşıktır ve IP adresi aralıklarına dayanır.
Related Documentation
- 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