Adding a static host mapping to your Junos device

 

Your Junos device needs to know how to contact OneConfig's system using a DNS.  In some situations the device may not have name servers configured or available to use. To work around this we can use Junos' static-host-mapping feature.

Here is an example of how to configure the mappings for our NCD servers.

lab@SRX> configure
[edit]
lab@SRX# set system static-host-mapping ncd01.oneconfig.com inet 162.243.139.198
lab@SRX# set system static-host-mapping ncd02.oneconfig.com inet 162.243.156.128
[edit]
lab@SRX# commit and-quit