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