Dead simple wildcard DNS for any IP Address.
Head to NIP.IO for more details.
Environment Variables Configuration Overrides
While all configuration settings can be specified in a file called backend.conf, the following environment variables override those:
NIPIO_DOMAIN: NIP.IO main domain.
NIPIO_TTL: Default TTL for NIP.IO backend.
NIPIO_NONWILD_DEFAULT_IP: Default IP address for non-wildcard entries.
NIPIO_SOA_ID: SOA serial number.
NIPIO_SOA_HOSTMASTER: SOA hostmaster email address.
NIPIO_SOA_NS: SOA name server.
NIPIO_SOA_REFRESH: SOA refresh.
NIPIO_SOA_RETRY: SOA retry.
NIPIO_SOA_EXPIRY: SOA expiry.
NIPIO_SOA_MINIMUM_TTL: SOA minimum time-to-live (TTL).
NIPIO_NAMESERVERS: A space-separated list of domain=ip nameserver pairs. Example:
NIPIO_WHITELIST: A space-separated list of description=range pairs for whitelisted ranges in CIDR format.
An IP address must be in one of the whitelisted ranges for a response to be returned. Example:
NIPIO_BLACKLIST: A space-separated list of description=ip blacklisted pairs. Example:
This is useful if you're creating your own Dockerfile.
DNS Rebinding Protection
Some DNS resolvers, forwarders and routers have DNS rebinding protection which may result in failure to resolve local and private IP addresses. This service won't work in those situations. However, you may run a local nip.io instance in this case.
If you'd like to develop and hack with nip.io, then the easiest way is to install Poetry
and then run
./build.sh which invokes Poetry.
./build.sh will run linting and tests as well.