Wget: unable to resolve host address

When I try to compile using ./zcutil/build.sh -j$(nproc)
I am not able to compile the code. I get the error wget: unable to resolve host address when I try to download ccache-3.1.9.tar.bz2. I can download ccache-3.1.9.tar.bz2 in a web browser just fine.

Are you entering that command verbatim? Or are you replacing ‘-j$(nproc)’ with something like ‘-j4’ ?

I got the files to download when I used a VPN. Code compiled okay.

1 Like

I am getting this error, as well.

wget: unable to resolve host address ‘z.cash’
wget: unable to resolve host address ‘sourceforge.net

Any ideas?

look @ /etc/resolv.conf for a valid dns server …

I get a permission denied. I’m definitely a learner on Linux.

you need root permission for this …

try sudo cat /etc/resolv.conf

you can try to you google dns:


I get a nameserver return after adding root permission.

if you’re on a sandbox try follow (which replace your settings):

sudo echo ‘nameserver’ > /etc/resolv.conf

after that try:

nslookup z.cash

If this works you’re ready, if not learn a bit networking, linux ;-)…

nslookup z.cash returns an address, so it seems it is working. But I still receive unable to resolve host address…

I am running a fresh install of ubuntu. No problems getting up to this point.

This is on a 32bit system. I suppose that might be the problem as these errors show when I go to compile.

Is that as far as we can go with a 32bit right now?