SOLVED Cannot resolve hosts

Joined
Oct 13, 2018
Messages
7
My TrueNAS is running in a VM on Proxmox. It wasn't having any issue. Recently, while I can access it locally using username@10.0.0.145, I cannot access it externally using DuckDNS. I tried to see if it can access the web from TruieNAS and that also failed.

Code:
ping: cannot resolve google.com: Host name lookup failure


My /etc/resolv.conf is :

Code:
# Generated by resolvconf
search local
nameserver 10.0.0.145
nameserver 8.8.8.8
nameserver 1.1.1.1


No VM settings were changed, so I think it must be something with TrueNAS.

Any ideas on how to fix this?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Did you intend to point the TrueNAS VM to itself as a DNS server? Where's the DNS server for your network?
 
Joined
Oct 13, 2018
Messages
7
I use ipconfig /all on my windows box to check DNS and tried those addresses too. No dice. Also, I removed 10.0.0.145 and it had no effect.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Do you have a default gateway defined in your TrueNAS VM?
 
Joined
Oct 13, 2018
Messages
7
Do you mean this?
 

Attachments

  • Capture.PNG
    Capture.PNG
    30.7 KB · Views: 1,580

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Joined
Oct 13, 2018
Messages
7
Thanks @sretalla , problemed solved! I am not sure how this got reset. I don't believe I changed it, and TrueNAS was accessible from the off local network via SSH and could access the internet too.
 
Top