Hello,
I’m currently running Dragonfhish-24.04.2.5
When I run the command ping youtube. com in the shell, it returns a ping to me.
However, when i run the command ping update-master .ixsystems .com it does not return to me.
All my apps are connected properly to the internet, (I can access all of them through a private domain) but I can’t update my truenas and apps are not showing the latest updates as well
The hostname update.ixsystems.com is a CNAME for link.storjshare.io, which is part of a decentralised storage network, the hostname resolves to different IP addresses depending on where in the world you’re attempting to resolveit from:
For additional context, I tried manually downloading the file it doesn’t work.
However, if I switch to my LTE on my phone, it lets me download the upload file on my phone. I feel like it’s a router issue? But I have no idea where to begin resolving that since my router settings are just all on default
I can ping the addresses returned by both the Chinese and Singaporean servers (136.0.77.2 and 207.211.208.129) at dnschecker, from the UK.
It sounds like you’ve got a temporary problem with your ISP’s peering with the Singaporean CDN that hosts 207.211.208.129
You can either wait it out or, if you’re desperate to run this update, edit /etc/hosts on your truenas server and force a static entry in for update.ixsystems.com, from that list on dnschecker, that you can actually ping. That way you won’t be relying in your chosen DNS server to return you the IP address of a geographically local ix update server, you can force it use whichever you choose.
Okay, you’ll need to take care because you’re editing system files that require root access.
SSH into your truenas server, or open a shell from the System menu in the webUI, whichever works for you.
Using sudo, edit /etc/hosts with the text editor of your choice (vi, nano, whatever). E.g.
sudo vi /etc/hosts
At the bottom of the hosts file you’ll see a line like this: # STATIC ENTRIES
Below that line, create a new one that looks like this, substituting in whatever IP address you want to use for update.ixsystems.com. E.g. I could use the IP address that seems to be returned from DNS servers in The Americas with the following:
Save the file, then try pinging update.ixsystems.com. You should see it using the IP address you just added to your hosts file.
NB.
Any unix-like system will check it’s /etc/hosts file first when trying to resolve a hostname to an IP address. Entries in /etc/hosts will override anything in your local DNS or whatever DNS your router forwards to
Entries in /etc/hosts only apply to that server/device, no other devices on your network will use that entry
Only leave that static entry in for as long as you need it. If iX Systems make changes to their CDN infrastructure in the future, and that IP address is no longer active, you’ll lose access to updates
the /etc/hosts file may get overwritten by TrueNAS system updates, I don’t know. Maybe worth checking after you run updates if you want it to persist
Thanks so much @WiteWulf. Sadly since this update will break my system it looks like I need to start up most of my apps from scratch, but it’s a start. Thank you!