SRX Services Gateway
SRX Services Gateway

Problem with file copy for JunOS download

‎07-10-2019 11:56 AM

When I try to download a JunOS file I get this error:

fetch-secure: https://cdn.juniper.net/software/junos/12.1X46-D65.4/junos-srxsme-12.1X46-D65.4-domestic.tgz?SM_USER=user.name@domain.com&__gda__=156...key...12e: 
No address record
error: file-fetch failed
error: could not fetch local copy of file

What does this error No address record mean?

3 REPLIES 3
SRX Services Gateway
Solution
Accepted by topic author chklomp
‎07-11-2019 05:45 PM

Re: Problem with file copy for JunOS download

‎07-10-2019 01:46 PM

I would expect it's because your device cannot resolve DNS - so no mapping from cdn.juniper.net to an IP address.

 

Can you do a ping google.com and get it to resolve? If not, you need to add name-servers to your configuration or load the new software via a intermediate host which can resolve the DNS entry.


--
Best regards,

Jonas Hauge Klingenberg
Systems Engineer, SEC DATACOM A/S (Denmark)
SRX Services Gateway

Re: Problem with file copy for JunOS download

‎07-11-2019 08:00 AM

@jonashauge wrote:

I would expect it's because your device cannot resolve DNS - so no mapping from cdn.juniper.net to an IP address.


Thanks for your reply. It indeed looks like DNS is not working, though I have configured the nameservers.

Trying to figure out why dns is broken...

Highlighted
SRX Services Gateway

Re: Problem with file copy for JunOS download

‎07-11-2019 05:48 PM

DNS and HTTP traffic were not routed to the internet.
After fixing that, I was able to upgrade the SRX to the desired JunOS version.