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:12] 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 =====
  
-<code> +ssh into your Controller (NOT the USG!).
-For controller on+
  
-Windows: C:\Users\<user>\Ubiquiti UniFi\data\sites\default +For controller on: 
-Mac: /Users/<user>/Library/Application Support/UniFi/data/sites/<site-name>/config.gateway.json + 
-Ubuntu: /usr/lib/unifi/data/sites/default +  * **Windows**: C:\Users\<user>\Ubiquiti UniFi\data\sites\default 
-CloudKey: /srv/unifi/data/sites/default+  * **Mac**: /Users/<user>/Library/Application Support/UniFi/data/sites/<site-name>/config.gateway.json 
 +  * **Ubuntu**: /usr/lib/unifi/data/sites/default 
 +  * **CloudKey**: /srv/unifi/data/sites/default 
 + 
 + 
 +<WRAP info> 
 +**NOTE:**  Use the site-name you had configured instead of "default" if you did. 
 +</WRAP>
  
-(or to the site-name you had configured instead of "default" if you did) 
-</code> 
  
 ---- ----
Line 45: Line 49:
  
 ---- ----
 +
 +===== Finalize =====
 +
  
 Once the file is on the UniFi-Controller: Once the file is on the UniFi-Controller:
Line 53: Line 60:
   * Click "Manage Device" and pick "Provision" under Force Provisioning.   * Click "Manage Device" and pick "Provision" under Force Provisioning.
  
 +----
 +
 +===== 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.
 +
 +----
 +
 +===== References =====
 +
 +https://help.ui.com/hc/en-us/articles/115004872967-UniFi-Where-is-unifi-base-
  
ubiquiti/cli/static_dns_entry.1600157532.txt.gz · Last modified: 2020/09/15 08:12 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki