gliderlabs / gliderlabs/docker-alpine

nslookup fails in Alpine 3.11.3

Open
#539 40 comments 33 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

We just switched to Alpine 3.11.3 and now nslookup is failing for us unless we explicitly specify the DNS server IP (which is of course not an option), e.g.

foo@/#nslookup abs
Server: 127.0.0.11
Address: 127.0.0.11:53
** server can't find abs..: NXDOMAIN
** server can't find abs..: NXDOMAIN
[...]

versus

foo@/#nslookup abs 127.0.0.11
Server: 127.0.0.11
Address: 127.0.0.11:53

Non-authoritative answer:

Non-authoritative answer:
Name: abs
Address: 172.27.0.12

Ping etc. work flawlessly.
Alas, we are using nslookup in some of our startscripts to defer starting of the actual application inside the container until another container shows up in DNS (cause the 3rd party tool we are using considers a failed DNS lookup a non-recoverable error...).

Could this be related to enabling the nslookup feature "FEATURE_NSLOOKUP_BIG" as mentioned here:
https://github.com/gliderlabs/docker-alpine/issues/476

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.