Fix offline config with docker bridge network
This MR applies the fix for our iptables configurations suggested in gitlab-org/gitlab#432578 (comment 1808249082)
The problem seems to come from the need to allow communication with localhost interface as in a docker bridge network setup DNS queries are always sent to the embedded DNS server.
Edited by Olivier Gonzalez