# 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.ltdor simplify justDOMAIN.ltdfor 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
PlutoorZenEdgeetc. - Purpose: Usage of the device/host etc.: Such as
vmclusterorcrt01etc. - 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,svnetc.) Version Control
- Purpose Kind Server:
ssh: SSH Jump Server etc.cfg: Configuration Server (Ansible etc.)mon: Monitoring Serverprx: Proxy Server (orvpnfor 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)
- 2 or 3 Letters for network equipment (Datacenter):
et: Ethernet Interface /ae: Aggregated Ethernet (Normally comes with port number on switch)ge: Gigabit Ethernet /xe: 10-Gigabit Ethernet /te: 100-Gigabit Ethernet /st: Switching Interfacehu: High-Speed Uplink /be: Boardband Enternet /st: Switching Interface /po: Port Channelccr: Core Control Router (maybe usecrtCore Router) /rcr: Reginal Core Router (maybe userrtReginal Router)cor: Core (Router) /bdr: Boarder Route /pe: Provider Edge (Router)
- 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 / Servers vendor
- Normally a 2 Letter represent each vendor. May also use number with Location for it.
- Optional for local subnet and local DNS hostname
DOMAIN
- Can be maximum third level domain
- Example:
naedge.net
Example
xe-0-0-0-1.ccr01.yyz01.naedge.net: YYZ Location, Core Router #01, Portxe-0/0/0/1zen.yyz.bl.naedge.net: YYZ Location, Hostname 'Zen’,blprovider (May stand for Bell)zen-dev.yyz01.rg.naedge.net: YYZ01 Location (Datacenter number may also represent ventor), ‘Zen’ host fordev
Reference:
Last Update: 2025-10-30 16:59:30 Source File