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 678
    • Issues 678
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 214
    • Merge Requests 214
  • 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
  • #9904

Closed
Open
Opened Jan 24, 2019 by Artem Antipov@ultrafenrir

DNS-resolving issue with alpine:3.8.1

Hi!
I’m facing some troubles in all images based on 3.8.1 (trying 4 images from different sources)
When i’m trying to resolve a DNS-name that actually a CNAME of another DNS-name i get an error:

[root@k8s ~]# docker exec -it -u0 050f2125af26 bash
bash-4.4# cat /etc/os-release
NAME=“Alpine Linux”
ID=alpine
VERSION_ID=3.8.1
PRETTY_NAME=“Alpine Linux v3.8”
HOME_URL=“http://alpinelinux.org”
BUG_REPORT_URL=“http://bugs.alpinelinux.org”
bash-4.4# nslookup gitlab.test.env 10.130.0.3
Server: 10.130.0.3
Address 1: 10.130.0.3

nslookup: can’t resolve ‘gitlab.test.env’: Name does not resolve
bash-4.4# exit
[root@k8s ~]# nslookup gitlab.test.env 10.130.0.3
Server: 10.130.0.3
Address: 10.130.0.3#53

gitlab.test.env canonical name = gitlab-01.test.env.
Name: gitlab-01.test.env
Address: 10.130.4.92

[root@k8s ~]# docker pull alpine:3.8
3.8: Pulling from library/alpine
cd784148e348: Pull complete
Digest: sha256:46e71df1e5191ab8b8034c5189e325258ec44ea739bba1e5645cff83c9048ff1
Status: Downloaded newer image for alpine:3.8
[root@k8s ~]# docker run -it alpine:3.8 sh
/ # cat /etc/os-release
NAME=“Alpine Linux”
ID=alpine
VERSION_ID=3.8.2
PRETTY_NAME=“Alpine Linux v3.8”
HOME_URL=“http://alpinelinux.org”
BUG_REPORT_URL=“http://bugs.alpinelinux.org”
/ # nslookup gitlab.test.env 10.130.0.3
Server: 10.130.0.3
Address 1: 10.130.0.3 ns1.test.env

Name: gitlab.test.env
Address 1: 10.130.4.92 gitlab-01.test.env

(from redmine: issue id 9904, created on 2019-01-24)

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#9904