# Expose your `/etc/hosts` to Pods on K3s If we don't have a DNS server and are using `/etc/hosts`, we will need to do some additional tasks to get the Pods on K3s to resolve names according to `/etc/hosts`. This is necessary for AWX to resolve the hostname for your private Git repository or pull images from the container registry. One easy way to do this is to use `dnsmasq`. 1. Add entries to `/etc/hosts` on your K3s host. Note that the IP addresses have to be replaced with your K3s host's one. ```bash sudo tee -a /etc/hosts <