Conversation
|
Hi @admitrievsky, Thanks for the PR! I wonder though, can there be a different/better name than "DnsNoAnswer". It sounds a bit like there was no response, but there was a response, but it had no matching answers to the query. So maybe "DnsNoMatchingAnswers"? |
|
Hi @michalc, Thanks for the suggestion. Renamed the exception in both PRs. |
|
Ah @admitrievsky thanks for the change. However, I see the new test is failing in CI - I think it uses whatever resolving server is available, and it's behaving differently to how you expect? |
|
Hey @michalc, I didn’t make any major changes. I think it’s a temporary issue with the external DNS servers. When I run the tests locally, they work fine. Could you please run the CI again? |
|
Done, and same error:
|
|
Running while running I can suggest the following options:
I'm wondering what you think about that? |
|
I believe that the upstream DNS server should respond with a NOERROR status code and an empty A record set. To simplify the testing process, I suggest that we switch to using the |
I think that sounds good - but just be for the test added in this PR? |
0e67eff to
204cf81
Compare
|
Yes, I changed this only for the new test. Now tests are OK. I had to do a rebase on the main branch, so I've squashed commits too. |
|
Thanks! Merged and released in v0.0.157 |
|
Please review the following PR: https://github.com/uktrade/dns-rewrite-proxy/pull/7. However, it is not essential for my current needs, as I am using a fork of the project. |
|
Ah I missed that! Will do |
|
Since there’s no dedicated issues section for this project, I thought I’d bring it up here. What are your thoughts on adding a DoH resolver? Is it feasible within the project’s scope? |
|
Ah I just realised I never enabled issues (/must have disabled them at some point...), and as of this morning I have enabled them. Can you raise a separate issue there? |
I'm using dns-rewrite-proxy, and for some reason the Clickhouse server is querying the root server's IP (
.) and it hangs without receiving a proper response. The fix brings proper handling of such requests.