SOLVED After network change, no DNS to jails?

Status
Not open for further replies.

AnejoDave

Cadet
Joined
Jul 15, 2017
Messages
2
So I moved. On a new network, I re-IP my Freenas, and the jails to new static IPs on the new network...but the jails don't seem to be able to reach their respective sites to check for updates. Odd.

Ping Google from the shell, that works.
Code:
 
[@FreeNAS ~]# ping google.com											   
PING google.com (172.217.6.110): 56 data bytes								 
64 bytes from 172.217.6.110: icmp_seq=0 ttl=53 time=20.501 ms				   
64 bytes from 172.217.6.110: icmp_seq=1 ttl=53 time=20.055 ms				   
64 bytes from 172.217.6.110: icmp_seq=2 ttl=53 time=20.279 ms				   
64 bytes from 172.217.6.110: icmp_seq=3 ttl=53 time=20.356 ms				   
^C																			 
--- google.com ping statistics ---											 
4 packets transmitted, 4 packets received, 0.0% packet loss					 
round-trip min/avg/max/stddev = 20.055/20.298/20.501/0.161 ms


Ping Google from the shell of a jail.... well, shit.
Code:
@sabnzbd_1:/ # ping google.com											 
ping: cannot resolve google.com: Host name lookup failure					   


Okay, how about pinging an external IP from the jail.... Yup, that works...

Code:
@sabnzbd_1:/ # ping 8.8.8.8												 
PING 8.8.8.8 (8.8.8.8): 56 data bytes										   
64 bytes from 8.8.8.8: icmp_seq=0 ttl=44 time=30.363 ms						 
64 bytes from 8.8.8.8: icmp_seq=1 ttl=44 time=30.763 ms						 
64 bytes from 8.8.8.8: icmp_seq=2 ttl=44 time=29.738 ms						 
^C																			 
--- 8.8.8.8 ping statistics ---												 
3 packets transmitted, 3 packets received, 0.0% packet loss					 
round-trip min/avg/max/stddev = 29.738/30.288/30.763/0.422 ms				   



All of my jails produce the same results, and the mail system can't reach out to send me mail, either.

Jail ifconfig
Code:
@sabnzbd_1:/ # ifconfig													 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384			   
		options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>				   
		inet6 ::1 prefixlen 128												 
		inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1							 
		inet 127.0.0.1 netmask 0xff000000									   
		nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>							   
epair1b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
		options=8<VLAN_MTU>													 
		ether 02:ff:b0:00:06:0b												 
		inet 192.168.157.202 netmask 0xffffff00 broadcast 192.168.157.255	   
		nd6 options=9<PERFORMNUD,IFDISABLED>									
		media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)					 
		status: active														 


FreeNAS ifconfig
Code:
[@FreeNAS ~]# ifconfig																										 
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500												 
		options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>											 
		ether 28:92:4a:38:36:fc																									 
		inet 192.168.157.203 netmask 0xffffff00 broadcast 192.168.157.255														   
		nd6 options=9<PERFORMNUD,IFDISABLED>																						
		media: Ethernet autoselect (1000baseT <full-duplex>)																		
		status: active																											 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384																   
		options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>																	   
		inet6 ::1 prefixlen 128																									 
		inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2																				 
		inet 127.0.0.1 netmask 0xff000000																						   
		nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>																				   
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500													   
		ether 02:d5:0c:5c:0d:00																									 
		nd6 options=1<PERFORMNUD>																								   
		id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15																 
		maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200																	
		root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0																	
		member: epair2a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>															   
				ifmaxaddr 0 port 6 priority 128 path cost 2000																	 
		member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>															   
				ifmaxaddr 0 port 5 priority 128 path cost 2000																	 
		member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>															   
				ifmaxaddr 0 port 4 priority 128 path cost 2000																	 
		member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>																 
				ifmaxaddr 0 port 1 priority 128 path cost 20000																	 
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500											   
		options=8<VLAN_MTU>																										 
		ether 02:ff:60:00:04:0a																									 
		nd6 options=1<PERFORMNUD>																								   
		media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)																		 
		status: active																											 
epair1a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500											   
		options=8<VLAN_MTU>																										 
		ether 02:ff:60:00:05:0a																									 
		nd6 options=1<PERFORMNUD>																								   
		media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)																		 
		status: active																											 
epair2a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500											   
		options=8<VLAN_MTU>																										 
		ether 02:ff:60:00:06:0a																									 
		nd6 options=1<PERFORMNUD>																								   
		media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)																		 
		status: active 



Any thoughts on whats wrong?
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
Has your gateway been properly set up after the network change? Make certain that your DNS servers are assigned correctly for the new network.
 

AnejoDave

Cadet
Joined
Jul 15, 2017
Messages
2
I had set the new gateway everywhere it asked for it. Monkey was right, the resolv.conf file wasn't updating.
 
Status
Not open for further replies.
Top