Bug 1389116 - oc dns issues when using OpenDNS
Summary: oc dns issues when using OpenDNS
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.2.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.10.0
Assignee: Maciej Szulik
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks: OSOPS_V3
TreeView+ depends on / blocked
 
Reported: 2016-10-26 21:49 UTC by Max Whittingham
Modified: 2020-03-11 15:19 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-01 16:13:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Max Whittingham 2016-10-26 21:49:06 UTC
Description of problem:
The 'oc' cli tool will not function when the system is using OpenDNS (208.67.222.222). When using Google's DNS server (8.8.8.8) it functions as expected on Mac OS X 10.12

Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
Use OpenDNS instead of Google's DNS server

Comment 2 Max Whittingham 2016-11-01 16:23:10 UTC
$ oc version
oc v3.1.1.6
kubernetes v1.1.0-origin-1107-g4c8e6f4
 
$ uname -a
Darwin Galactica.local 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64

Comment 3 Fabiano Franz 2016-11-01 18:29:08 UTC
Can you confirm this is a Mac OS X only issue? I wasn't able to reproduce it on Fedora, not even trying to force cgo to DNS resolution, as specified in Go's Name Resolution[1] topic:

GODEBUG=netdns=go+2 oc login https://api.tsi.openshift.com/
GODEBUG=netdns=cgo+2 oc login https://api.tsi.openshift.com/

Both succeeded.

Also, your nslookup command prints 10.0.0.1 as the server, can you confirm it's correctly using OpenDNS (208.67.222.222)?

[1] https://golang.org/pkg/net/#hdr-Name_Resolution

Comment 4 Jordan Liggitt 2016-11-01 20:30:13 UTC
possibly related to https://github.com/kubernetes/kubernetes/issues/23130?

Comment 5 Fabiano Franz 2016-11-01 23:38:18 UTC
Yes, definitely looks like the same issue.

Adding Clayton and Derek.

Comment 6 Fabiano Franz 2017-04-20 17:30:12 UTC
We're still depending on a Go fix here

https://github.com/golang/go/issues/12524
https://github.com/golang/go/issues/16345

Comment 8 Maciej Szulik 2019-10-01 16:13:36 UTC
I see the customer case is closed for a while, I'm closing this BZ as well. Feel free to re-open if the issues still exists.


Note You need to log in before you can comment on or make changes to this bug.