User Tools

Site Tools


ubiquiti:cli:static_dns_entry

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubiquiti:cli:static_dns_entry [2020/09/15 08:18] 192.168.1.1ubiquiti:cli:static_dns_entry [2020/09/15 09:15] (current) 192.168.1.1
Line 1: Line 1:
 ====== Ubiquiti - CLI - Static DNS entry ====== ====== Ubiquiti - CLI - Static DNS entry ======
  
-ssh into your Controller (NOT the USG!)+===== ssh into your Controller ===== 
 + 
 +ssh into your Controller (NOT the USG!).
  
 For controller on: For controller on:
  
-<code> +  * **Windows**: C:\Users\<user>\Ubiquiti UniFi\data\sites\default 
-Windows: C:\Users\<user>\Ubiquiti UniFi\data\sites\default +  * **Mac**: /Users/<user>/Library/Application Support/UniFi/data/sites/<site-name>/config.gateway.json 
-Mac: /Users/<user>/Library/Application Support/UniFi/data/sites/<site-name>/config.gateway.json +  * **Ubuntu**: /usr/lib/unifi/data/sites/default 
-Ubuntu: /usr/lib/unifi/data/sites/default +  * **CloudKey**: /srv/unifi/data/sites/default 
-CloudKey: /srv/unifi/data/sites/default +
-</code>+
  
 <WRAP info> <WRAP info>
Line 48: Line 49:
  
 ---- ----
 +
 +===== Finalize =====
 +
  
 Once the file is on the UniFi-Controller: Once the file is on the UniFi-Controller:
Line 58: Line 62:
 ---- ----
  
-====== Verify ======+===== Verify =====
  
 Verify the setting by ssh'ing into your USG, enter "configure" and "show system" where the test1-entry now will show up under static-host-mapping. Verify the setting by ssh'ing into your USG, enter "configure" and "show system" where the test1-entry now will show up under static-host-mapping.
 +
 +----
 +
 +===== References =====
 +
 +https://help.ui.com/hc/en-us/articles/115004872967-UniFi-Where-is-unifi-base-
 +
ubiquiti/cli/static_dns_entry.1600157886.txt.gz · Last modified: 2020/09/15 08:18 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki