I'm using dnscrypt-proxy on main machine and also using firefox inside chroot. I get network working but some site are blocked inside chroot unlike my host.
To unblock them I just figured out a simple trick. Turns out I just need to make the resolv.conf from inside chroot using same nameserver like my host (which is 127.0.0.1
).
$ cat /etc/resolv.conf
nameserver 127.0.0.1
After set it up, exit the chroot and reenter.