Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elastic/hipio

A DNS server that parses a domain for an IPv4 Address
https://github.com/elastic/hipio

Last synced: 17 days ago
JSON representation

A DNS server that parses a domain for an IPv4 Address

Awesome Lists containing this project

README

        

# hipio

hipio maps `..` to the corresponding ``, e.g. `127.0.0.1.` maps to `127.0.0.1`

This is a stand-alone alternative to xip.io and nip.io, no PowerDNS required.

And it has tests.

```
hipio - Wildcard DNS Server for any IP Address

Usage: hipio DOMAIN [PORT] [-a RECORD] [--ns RECORD]
--soa-email EMAIL
hipio maps .. to the corresponding ,
e.g. 127.0.0.1. maps to 127.0.0.1

Available options:
-h,--help Show this help text
DOMAIN Root wildcard domain.
PORT Listening port. (default: 53)
-a RECORD A record for DOMAIN
--ns RECORD NS record for DOMAIN
--soa-email EMAIL Email address for SOA record. Example:
admin.example.com
```

hipio logs DNS request activity to standard output in the form for [jsonlines](http://jsonlines.org/). Example of the output:

```json
...
{"component":"UDP","domain":[],"time":"2020-09-14T08:19:16.9779543Z","level":"info","message":"","data":{"from":"127.0.0.1:57093","answer":"1.2.1.1","server":"ec2121e7bdd4","question":"1.2.1.1.example.com."}}
...
```