# Hostname PTR Record naming docs
This is a updated version (2025) hostname conventions design Reason to update:
- Try to limit the length of FQDN so it can be trimed when needed.
- Try to ignore vendor when possible, so we consider all servers are one.
- Try to include vendor to locations, when needed.
- Try to use a standard domain, for example
srv.DOMAIN.ltd
or simplify justDOMAIN.ltd
for all hostname.
# Schema:
[Name/Describes(#)/Purpose(#)] | - [model/env(Optional)] | - (DC)Location (#) + (Vendor) | . DOMAIN
# Detail:
Name/Describes(#)/Purpose(#)
- NAME: Can be a name of the device/host: Such as
Pluto
orZenEdge
etc. - Purpose: Usage of the device/host etc.: Such as
vmcluster
orcrt01
etc. - OS if it’s special OS that necessary to know.
- Optional number after Describes is optional for more than two same machine. Such as 2 DNS server or 2 NAS server.
Kind/Purpose#
- What kind of server/device is this?
- What purpose is this server/device for?
- This should be go with ‘Describe’ if possible or replace the ‘model/dev’ when needed.
- (2-3 letter for represent it, see list below)
- Common Kind:
- 3 Letters:
- Home
nas
: NAS Serverups
: UPS Powervmm
: VM Manager
- Cloud:
web
: Web Server (Apache or Nginx)app
: Web/Mobile App Serverapi
: API Server
- Home && Online
sto
: Storage- Application Kind Server:
ftp
: FTP Server (Including sFTP and/or rsync/sync)mal
: Mail Servergit
: (Orvcs
,svn
etc.) Version Control
- Purpose Kind Server:
ssh
: SSH Jump Server etc.cfg
: Configuration Server (Ansible etc.)mon
: Monitoring Serverprx
: Proxy Server (orvpn
for VPN Server)
- Home
- 2 Letters:
db
: (Orsql
) Database Serverfw
: Firewall (Usually Hardware)rt
: Router (Usually Hardware)ns
: DNS Serversw
: Switch (Usually Hardware)gw
: Gateway (Usually Network Gateway outside your network)ap
: Access Pointlb
: Load Balancer (Both Hardware and Software level LB)
- 3 Letters:
model/env
- Optional in naming schema.
- model:
- device mode: router’s model etc.
- env: Usage environment.
- dev: Development
- tst: Testing
- stg: Staging
- prd: Production
Datacenter Location(#)
- IATA Airport Code for the city the Datacenter located in.
- ISO 3166 Country Code (Alpha-2 & Alpha-3) Code for the country the Datacenter located in. (Optional)
- Optional number after location for Colocation Service or Self-build datacenter in the future.
- Common Location:
yyz
: Toronto ON, Canadanyc
: New York City NY, USAlax
: Los Angeles CA, USApdx
: Portland OR, USA
Vendor
- ISP provider
- Datacenter Vendor
- Optional for local subnet and local DNS hostname
DOMAIN
- Can be maximum third level domain
- Example:
naedge.net
Reference:
Last Update: 2025-07-17 16:21:28 Source File