-
Notifications
You must be signed in to change notification settings - Fork 0
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
Got various errors running in docker #11
Comments
The error from dnspython 1.16.0 is
That looks like a "config" problem, which could be on your side, or also could be in this package. Either way, we can very likely find a workaround for this. I did do some testing on dnspython 2 before it was released, and submitted some issues I found. I see it has come out only supporting py36+ If you really need py35, I can probably investigate it, and maybe get it working for you, but if you are using Docker then maybe you can use py36. |
It worked on my pc. host ubuntu16.04 instance ubuntu18.04 with both I will try to go back to this issue in the following weeks |
Update: I got the following error:
Using both dnspython (1.16.0) dnspython (2.0.0) even after removing all docker run Flags. Maybe it's related to the fact that dnspython doesn't use "/etc/hosts" (but it does not reproduce on x86_64 so I'm not sure) |
I've pushed dnspython 2.0 support onto master, if you want to test with that. The CI failures are primarily to do with dnspython 2 doing a slightly better job of caching than dnspython 1, so my tests are expecting the wrong counts at various stages of the tests on dnspython 2. I have fixes for these test failures, but I am working on better tests for the aggressive caching class, and that is all intermingled so it will be about another day before I push that and get the tree green again, and then do a release of dns-cache. It would not surprise me that there was some small but significant bugs in dnspthon+dns-cache on aarch64 - I have seen Note master only supports |
@ofirule , master has another update, especially adding |
Error is almost the same after using
Note: that your getting started example is working in my docker container, the problem is only with |
Added easy tests: test1.py:
test2.py:
results when running
|
Ah, interesting. This is also a 'bug' in dnspython, but I will fix it here. |
@ofirule , branch |
A bit more cleaned up, |
I will try it in the following weeks |
Both branches This is great! Please add the fixes to |
Good to hear. I have tidied up |
Is it possible to create a new release with the localhost fix soon? |
Yup; I am working on it right now ;-) |
v0.3.0 tagged and released. |
Assuming all is well, so closing. Let me know if you encounter any further trouble. |
Noting the dnspython upstream project decided not to support |
ver:
dns-cache (0.2.0)
Docker host and instance are both ubuntu 16.04, on aarch64
The instance is running with flag
--dns=8.8.8.8
So with
dnspython (2.0.0)
this is the given err:and with
dnspython (1.16.0)
this is the given err:The text was updated successfully, but these errors were encountered: