Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/elastic/hipio
- Owner: elastic
- License: bsd-3-clause
- Created: 2016-12-08T05:46:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T20:03:24.000Z (almost 2 years ago)
- Last Synced: 2025-01-28T20:58:35.865Z (24 days ago)
- Language: Haskell
- Size: 51.8 KB
- Stars: 83
- Watchers: 11
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 AddressUsage: 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.1Available 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."}}
...
```