Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curl/doh
stand-alone application for DoH (DNS-over-HTTPS) name resolves and lookups
https://github.com/curl/doh
dns-over-https doh libcurl name-resolution
Last synced: 2 months ago
JSON representation
stand-alone application for DoH (DNS-over-HTTPS) name resolves and lookups
- Host: GitHub
- URL: https://github.com/curl/doh
- Owner: curl
- License: mit
- Created: 2018-04-21T10:51:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T05:37:38.000Z (10 months ago)
- Last Synced: 2024-05-22T21:34:45.247Z (7 months ago)
- Topics: dns-over-https, doh, libcurl, name-resolution
- Language: C
- Homepage:
- Size: 63.5 KB
- Stars: 392
- Watchers: 28
- Forks: 57
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AWS-Guide - DoH - alone application for DoH (DNS-over-HTTPS) name resolves and lookups. (Networking Tools & Concepts)
- Virtualization-Emulation-Guide - DoH - alone application for DoH (DNS-over-HTTPS) name resolves and lookups. (Networking Tools & Concepts)
- IoT-Guide - DoH - alone application for DoH (DNS-over-HTTPS) name resolves and lookups. (Networking Tools & Concepts)
- Firmware-Guide - DoH - alone application for DoH (DNS-over-HTTPS) name resolves and lookups. (Networking Tools & Concepts)
- Retro-Gaming-Guide - DoH - alone application for DoH (DNS-over-HTTPS) name resolves and lookups. (Networking Tools & Concepts / Enable Proton in Steam)
README
# doh
[![Build Status](https://travis-ci.org/curl/doh.svg?branch=master)](https://travis-ci.org/curl/doh)
A libcurl-using application that resolves a host name using DNS-over-HTTPS
(DoH).This code uses POST requests unconditionally for this.
## Install
make
sudo make install## Usage
doh [options] host [DoH URL]
If DoH URL is left out, the Cloudflare DoH server will be used. See also [list
of public
servers](https://github.com/curl/curl/wiki/DNS-over-HTTPS#publicly-available-servers)## Examples
$ doh www.example.com
www.example.com from https://dns.cloudflare.com/dns-query
TTL: 2612 seconds
A: 93.184.216.34
AAAA: 2606:2800:0220:0001:0248:1893:25c8:1946$ doh www.yahoo.com https://dns.google/dns-query
www.yahoo.com from https://dns.google/dns-query
TTL: 36 seconds
A: 87.248.98.8
A: 87.248.98.7
AAAA: 2a00:1288:0110:001c:0000:0000:0000:0004
AAAA: 2a00:1288:0110:001c:0000:0000:0000:0003
CNAME: atsv2-fp.wg1.b.yahoo.com
CNAME: atsv2-fp.wg1.b.yahoo.com