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# set system static-host-mapping ncd01.oneconfig.com inet 18.104.22.168
lab@SRX# set system static-host-mapping ncd02.oneconfig.com inet 22.214.171.124
 lab@SRX# commit and-quit