By default the WAF uses the internal resolver of the docker container for DNS name resolution. This is set in the Nginx conf file (typically located at: /home/<user>/app/nginx/conf.d/default.conf).

server {
    listen 443 ssl;

    server_name  _;
    root /app/static/;

To change the name server you can edit the resolver line to any name server you want (Ex: an internal DNS server like Any changes to this file will require restarting Nginx with docker exec zwaf nginx -s reload

Learn more about setting the DNS resolver using Nginx.

DNS Resolution via Docker

It is possible to add name servers in addition to the existing name server defined in Nginx, via updating the docker-compose YAML file (usually located at: /home/<user>/docker-compose.yaml). To accomplish this, add an extra_hosts block to the zwaf container. Example:

      - "somehost:"
      - "otherhost:"

Any changes made to docker-compose.yaml will require restarting Docker with docker-compose down && docker-compose up -d.

Learn more about adding name servers using Docker.