- Joined
- May 27, 2011
- Messages
- 1,754
I'm experiencing problems with DNS lookups from the Jail. Looking at resolv.conf the DNS server is there, but when I try to do a "pkg_add", it fails. I tried nslookup, but it can't find the command. If I just try ping ftp.freebsd.org or ANY host I get:
Code:ping: cannot resolve ftp.freebsd.org: Host name lookup failure
Code:ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:48:6f:00:05:0b inet 192.168.2.25 netmask 0xffffff00 broadcast 192.168.2.255 inet6 fe80::48:6fff:fe00:50b%epair0b prefixlen 64 scopeid 0x2 nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
Maybe I'm missing something, it's been a long day.
Is your freenas virtualized?
Can you paste ifconfig -a and netstat -rn (outside jail)?