Skip to content

Olm in docker does not override DNS #59

@JobDoesburg

Description

@JobDoesburg

Describe the Bug

I run Olm in docker on some of my machines with network_mode host. However, this doesnt properly override DNS

services:
  olm:
    image: fosrl/olm:1.2.0
    container_name: olm
    restart: unless-stopped
    network_mode: host
    environment:
      - PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT}
      - OLM_ID=${OLM_ID}
      - OLM_SECRET=${OLM_SECRET}
      - OVERRIDE_DNS=true
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    devices:
      - /dev/net/tun:/dev/net/tun

Environment

  • OS Type & Version: Ubuntu 22.04
  • Pangolin Version: 1.13
  • Gerbil Version: 1.3.0
  • Traefik Version: v3.6.4
  • Newt Version: 1.7.0
  • Olm Version: 1.2.0

To Reproduce

Run olm in docker as shown above.
Then try to resolve an internal DNS alias on the host machine.

Expected Behavior

Resolving should work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions