Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

[Alpine Linux]: DNS resolution inside an Alpine Linux-based Codespace sporadically fails #12

Open
@legomushroom

Description

@legomushroom
Member

Apline Linux kernel queries a random nameserver as oppose to using nameservers in sequence as other Linux distros would do. This causes some of DNS requests to go past our defined nameserver.

🔨 Workarounds

  1. Either add explicit ip-address hostname mapping to /etc/hosts file inside a Codespace. This will help DNS resolution process.

  2. Or modify the /etc/resolv.conf file to keep only the VPN Gateway-defined nameserver (the one marked with # Codespaces VPN Gateway comments)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @legomushroom

        Issue actions

          [Alpine Linux]: DNS resolution inside an `Alpine Linux`-based Codespace sporadically fails · Issue #12 · github/gh-net