I have created a jail using sysutils/ezjail.
In order to get internet connection from the jail I copied the host resolv.conf to the jail. After I did that, it takes a very long time to start the jail. If I remove resolv.conf from the jail, then there is no delay. The host's resolv.conf looks like this:
Also if I change the resolv.conf of the jail to use a Google server, then I have no problems
I am happy to use a Google server, but am not sure if it is advisable. Is there any reason why my jail takes so long to start when using host's resolv.conf?
#ezjail-admin create jailname 'em0|192.168.1.22'In order to get internet connection from the jail I copied the host resolv.conf to the jail. After I did that, it takes a very long time to start the jail. If I remove resolv.conf from the jail, then there is no delay. The host's resolv.conf looks like this:
Code:
# Generated by resolvconf
nameserver 194.168.4.100
nameserver 194.168.8.100
Code:
#Google Public DNS
nameserver 8.8.8.8
nameserver 8.8.4.4