Configure the Domain name server / DNS server:
set system domain-name 8.8.8.8
commit
https://www.fir3net.com/Firewalls/Juniper/juniper-srx-configuring-time-date-and-ntp.html
set system time-zone Europe/London
( http://www.pool.ntp.org/zone/uk )
set system ntp server 0.uk.pool.ntp.org prefer
set system ntp server 1.uk.pool.ntp.org
set system ntp server 2.uk.pool.ntp.org
operation mode:
> set date ntp 0.uk.pool.ntp.org
root> set date ntp 0.uk.pool.ntp.org
27 Nov 12:23:10 ntpdate[4158]: step time server 188.114.116.1 offset -29467.397713 sec
root> set date ntp 0.uk.pool.ntp.org
27 Nov 12:23:23 ntpdate[4181]: step time server 46.43.15.189 offset 0.000616 sec