Nip.io Usage
Dynamic DNS Ancient nip.io use guide:to quickly implement dynamic mapping of domain names and IP
This is written based on Open Source Project v1.2.1 for development tests, CI/CD etc.
Project Profile nip.io is an open-source dynamic DNS service developed by Exentrique Solutions to enable dynamic mapping of arbitrary IP addresses and domain names through the Smart Resolution Mechanism.This service does not need to register or configure DNS records. Core features:
- 🌐 Dynamic domain parsing:will
<Any IP>.nip.ioautomatically parse corresponding IP - 🚀 Zero configuration using:does not need to install clients or configure DNS servers
- 🔧 wildcard supports:for multi-tier subdomain dynamic resolution (e.g.
app.10.0.1.nip.io) - :spouting_whale : Container Deploying:provides Docker mirrors to quickly build a private service
Quick Start
Scenario 1:uses a public DNS service to access the following formatted domains: directly in browser or app
IPv4 Format
http://your-app.192-168-1-100.nip.io parsed to 192.168.1.100
http://test.192.168.1.100.nip.io parsed to 192.168.1.100
IPv6 format (using a dash number)
http://your-app.2001-0db8-85a3-00-00-8a2e-0370-7334.nip.io
Scene 2:Self-built Private Service
Clone item
git clone https://github.com/exentriquesolations/nip.io.git
Use Docker to deploy
bash build_and_run_docker.sh
Advanced configuration
- Environment Variable Configuration overwrites the default configuration: by environment variable
environment-variables-configuration-overrides
Scenarios for typical applications
- Local development debugging
# Run local service
python -m http.80
# Visit
http://dev.127-0-0-1.nip.io:8080
- Kubernetes service exposure
apiVersion: v1
kind: Service
metadata:
name: demo-service
spec:
type: ClusterIP
externalIPs:
- 192. 68.1.100
ports:
- ports: 80
--
# Visit
http://k8s.192.168.1.100.nip.io
Project address:GitHub - exentriqueries/nip.io More technical details can be found in the project Wiki document