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)