Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 639
    • Issues 639
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 193
    • Merge Requests 193
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12051

Closed (duplicated)
Open
Opened Oct 25, 2020 by Phil Taylor@PhilETaylor

Funny issue with DNS resolution in edge

So I have been battling this all day, decided to see how small a reproducer I could get to.

DISCLAIMER: Im a PHP Developer, not a linux developer :)

The problem: When using Edge (or 20200917) tools like wget/curl do not work correctly, normally resulting in a dns issue.

My set up - a docker on Mac that works perfectly with Alpine 3.11/3.12 in docker images. I also have native dual stack ip4/ipv6 which is set up correctly and working well for years - all my local DNS set up is correct and works perfectly independent of this issue Im reporting.

The way it should work:

My reproducer is a TWO LINE dockerfile:

FROM alpine
RUN wget https://alpinelinux.org

Then build with docker build --no-cache .

This should result in downloading the index.html file correctly. When running FROM alpine, alpine:3.11, alpine:3.12 it does this, it works: see:

Screenshot_2020-10-25_at_14.16.54

The issue: Now change to alpine:edge or alpine:20200917 and build the same dockerfile again,

FROM alpine:edge
RUN wget https://alpinelinux.org

Then build with docker build --no-cache .

this time you get:

wget: bad address 'alpinelinux.org'

see: Screenshot_2020-10-25_at_14.18.00

Edited Oct 25, 2020 by Phil Taylor
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#12051