alpinelinux / docker-alpine

Official Alpine Linux Docker image. Win at minimalism!
MIT License
1.08k stars 262 forks source link

SERVFAIL on dns request #336

Open krowinski opened 1 year ago

krowinski commented 1 year ago

Alpine get SERVFAIL on nslookup. For example I can replicate using nameserver 195.238.40.45. Tested on ubuntu and macos and it works fine.

To replicate

docker run -it alpine /bin/sh

/ #  nslookup  video.bunnycdn.com 195.238.40.45
Server:     195.238.40.45
Address:    195.238.40.45:53

Non-authoritative answer:
video.bunnycdn.com  canonical name = router-api.mediadelivery.net
Name:   router-api.mediadelivery.net
Address: 138.199.36.1

** server can't find video.bunnycdn.com: SERVFAIL

using cloudflare nameserver works fine.

/ #  nslookup  video.bunnycdn.com 1.1.1.1
Server:     1.1.1.1
Address:    1.1.1.1:53

Non-authoritative answer:
video.bunnycdn.com  canonical name = router-api.mediadelivery.net
Name:   router-api.mediadelivery.net
Address: 138.199.36.1

Non-authoritative answer:
video.bunnycdn.com  canonical name = router-api.mediadelivery.net

On macos both work fine.

nslookup  video.bunnycdn.com 195.238.40.45
Server:     195.238.40.45
Address:    195.238.40.45#53

Non-authoritative answer:
video.bunnycdn.com  canonical name = router-api.mediadelivery.net.
Name:   router-api.mediadelivery.net
Address: 138.199.36.1

nslookup  video.bunnycdn.com 1.1.1.1
Server:     1.1.1.1
Address:    1.1.1.1#53

Non-authoritative answer:
video.bunnycdn.com  canonical name = router-api.mediadelivery.net.
Name:   router-api.mediadelivery.net
Address: 138.199.36.1

How to fix this ? šŸ¤”

TbLtzk commented 9 months ago

I have the same issue

agwidarsito commented 3 months ago

I feel like there's something wrong with the DNS, I get a different issue but it feels related?