Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

DNS (SRV records) lookups fail inside docker container using boot2docker DNS server. #627

@buckett

Description

@buckett

If I do a DNS lookup for s SRV record inside a docker container using the DNS resolved supplied by boot2docker it fails:

$docker run --rm -it ubuntu /bin/bash -c "apt-get update; apt-get install -y dnsutils; host -t SRV _kerberos._udp.ox.ac.uk"

if I switch to using external DNS (Google in this case) it all works:

docker run --rm -it --dns 8.8.8.8 ubuntu /bin/bash -c "apt-get update; apt-get install -y dnsutils; host -t SRV _kerberos._udp.ox.ac.uk"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions