User Tools

Site Tools


ubnt:short_names

Short Names

This guide allows devices on the network to be accessed by their short names (as well as their FQDN).

Access router CLI either through the GUI or a SSH client.

This doesn't technically provide short name access, but most devices will automatically try appending the domain-name anyway. To properly do it requires adding static host names with aliases without the domain-name for each device.

  • override-hostname-ip replaces the automatic entry of 127.0.0.1 in the hostfile
  • hostfile-update automatically adds dhcp entries into the hostfile
configure

set system ip override-hostname-ip <local router IP>
set system domain-name <domain-name>
set service dhcp-server shared-network-name LAN subnet <subnet IP/24> domain-name <domain-name>
set service dhcp-server hostfile-update enable

commit
save
exit
ubnt/short_names.txt · Last modified: 2018/12/10 05:52 by derek