Jails on Core 13.0-U5.2 do not connect to the internet

BuffTofu

Dabbler
Joined
Dec 18, 2021
Messages
35
Hi,

I have 2 jails on my NAS that ran perfectly fine before I updated to 13.0-U5.2, and now pinging google.com doesn't work despite no changes being made. I s the answer right in front o me or is this a major bug?
Screenshot 2023-07-31 at 6.44.22 PM.png
Screenshot 2023-07-31 at 6.41.46 PM.png

Thanks!
 
Joined
Oct 22, 2019
Messages
3,641
Within the jail:
Code:
resolvconf -l
 
Joined
Oct 22, 2019
Messages
3,641
Is the resolver configured under the jail's Network Properties?
 
Joined
Oct 22, 2019
Messages
3,641
You can manually enter each nameserver line in the jail's "resolver" text field under Network Properties. Or write the word none to inherit the TrueNAS system's resolver.
 
Joined
Oct 22, 2019
Messages
3,641
If you set it to "none", you still have no output when running resolvconf -l in the jail?
 
Joined
Oct 22, 2019
Messages
3,641
Not sure why an update to 13.0-U5.2 would break your jail's DNS.

Usually the jail will just adopt your host's nameservers.


@Patrick M. Hausen or @Jailer any ideas?
  • No DNS resolution in their jails after updating to TrueNAS Core 13.0-U5.2.
  • resolvconf -l shows nothing in the jail.
  • Setting the resolver option to "none" in the jail's network properties does not inherit the host's nameservers.
  • Jails can only ping IP addresses; not websites or domain names.
 
Joined
Oct 22, 2019
Messages
3,641
What about manually typing in /etc/resolv.conf as the value for "resolver" under Network Properties?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The domain and search entries in the screenshot above are nonsense. But that should not keep name resolution from working. Is 192.168.0.1 your router? Could you put nameserver 192.168.0.1 in your jail's resolver field and try again? Why don't you use your router as the recursive namerserver for all local devices in the first place?
 

BuffTofu

Dabbler
Joined
Dec 18, 2021
Messages
35
The domain and search entries in the screenshot above are nonsense. But that should not keep name resolution from working. Is 192.168.0.1 your router? Could you put nameserver 192.168.0.1 in your jail's resolver field and try again? Why don't you use your router as the recursive namerserver for all local devices in the first place?
I put it into the resolver and it did nothing. I reconfigured the base nameservers and set the jails to recursive and it also did nothing. It worked totally fine before the update. Anything I can screenshot to help?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
"When in doubt, use tcpdump."

(unknown network engineer, possibly me :wink:)
 
Top