Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nslookup broke after 7.2 alpine3.8 #950

Closed
SebaGnich opened this issue Jan 29, 2020 · 3 comments
Closed

nslookup broke after 7.2 alpine3.8 #950

SebaGnich opened this issue Jan 29, 2020 · 3 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@SebaGnich
Copy link

We use 7.2-fpm-alpine3.8 and have nslookup db in our deployment for the "readiness" state-checking of the container.
At alpine3.11 the deployment broke with:

Executing command: nslookup db
Server:         127.0.0.11
Address:        127.0.0.11:53

** server can't find db.workflow.svc.cluster.local: NXDOMAIN
** server can't find db.svc.cluster.local: NXDOMAIN
** server can't find db.cluster.local: NXDOMAIN
** server can't find db.ec2.internal: NXDOMAIN
** server can't find db.workflow.svc.cluster.local: NXDOMAIN
** server can't find db.ec2.internal: NXDOMAIN
** server can't find db.svc.cluster.local: NXDOMAIN
** server can't find db.cluster.local: NXDOMAIN

Also after upgrading to 7.4.2-fpm-alpine3.11 the error occures.

How can I see what has changed? Do you have an idea on how to fix that?

Thanks in advance!

@SebaGnich
Copy link
Author

Before, it was like this:

Executing command: nslookup db
nslookup: can't resolve '(null)': Name does not resolve
Name:      db
Address 1: 172.18.0.3 siz0xr9tb_db_1.siz0xr9tb_default

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Jan 29, 2020
@wglambert
Copy link

gliderlabs/docker-alpine#476

It seems Alpine uses BusyBox's nslookup, which had some issues on Kubernetes
docker-library/busybox#61 (comment), docker-library/busybox#48 (comment)

The upstream bug report https://bugs.busybox.net/show_bug.cgi?id=11161

@wglambert
Copy link

Going to close since this is an upstream issue with the Alpine package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

2 participants