IP Addresses
Every Breeze comes with a public IPv4 address. This is how your server is reachable from the internet.
Finding Your IP
# From the server
curl -4 ifconfig.me
# Or check your Kazepute portal — it's displayed on the server page
Public vs Private IPs
| Type | Range | Accessible From | Use Case |
|---|---|---|---|
| Public | Assigned by provider | Anywhere on the internet | Web servers, APIs, SSH |
| Private | 10.x.x.x, 172.16-31.x.x, 192.168.x.x | Same network only | Inter-server communication |
DNS Basics
DNS translates domain names to IP addresses.
Common Record Types
| Record | Purpose | Example |
|---|---|---|
| A | Maps domain to IPv4 | example.com → 198.51.100.10 |
| AAAA | Maps domain to IPv6 | example.com → 2001:db8::1 |
| CNAME | Alias to another domain | www → example.com |
| MX | Mail server for domain | mail.example.com (priority 10) |
| TXT | Arbitrary text (SPF, DKIM, verification) | v=spf1 ip4:198.51.100.10 -all |
| NS | Nameserver for domain | ns1.kazepute.com |
Setting Up DNS for Your Server
- Register or transfer your domain in the Kazepute portal
- Add an A record pointing to your server IP
- Add a CNAME for
wwwpointing to your root domain - Wait for propagation (usually minutes, up to 48 hours)
# Check DNS propagation
dig +short example.com
dig +short www.example.com
Firewalls
UFW (Uncomplicated Firewall)
# View current rules
sudo ufw status numbered
# Allow specific port
sudo ufw allow 3000/tcp
# Allow from specific IP only
sudo ufw allow from 203.0.113.5 to any port 22
# Delete a rule
sudo ufw delete 3
Important Ports
| Port | Service | Should Be Open? |
|---|---|---|
| 22 | SSH | Yes (restrict by IP if possible) |
| 80 | HTTP | Yes for web servers |
| 443 | HTTPS | Yes for web servers |
| 3306 | MySQL | No (use SSH tunnel) |
| 5432 | PostgreSQL | No (use SSH tunnel) |
| 6379 | Redis | No (bind to localhost) |
Danger Never expose database ports to the public internet. Use SSH tunnels or private networking for database connections.