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

Enforced GOOGLE and CLOUDFLARE DNSes #59

Open
pekniada opened this issue Sep 23, 2024 · 3 comments
Open

Enforced GOOGLE and CLOUDFLARE DNSes #59

pekniada opened this issue Sep 23, 2024 · 3 comments
Assignees
Labels
Completed Already fixed/released
Milestone

Comments

@pekniada
Copy link

pekniada commented Sep 23, 2024

After deployment of Oxalis 6.7.0 using vefa-peppol 3.7.0 we have noticed initial lookups are enforcing public DNS from GOOGLE and CLOUDFLARE due to this commit:
d6a1c0f
Public DNS is not really allowed in all enterprise environments and due to resolver logic sequentially using these servers before using system one, this is causing a performance drop and other related issues.

Can any DNS hardcoding be avoided or at least made configurable?

@HegeErdal
Copy link

Probably related, but we experience a heavy increase in errors with stack-trace like this:
Caused by: network.oxalis.vefa.peppol.lookup.api.LookupException: Unable to fetch 'http://B-2efe7b8d2c600a6193b3c25008552844.iso6523-actorid-upis.edelivery.tech.ec.europa.eu/iso6523-actorid-upis%3A%3A0192%3A984661185/services/busdox-docid-qns%3A%3Aurn%3Afdc%3Adigdir.no%3A2020%3Ainnbyggerpost%3Axsd%3A%3Ainnbyggerpost%23%23urn%3Afdc%3Adigdir.no%3A2020%3Ainnbyggerpost%3Aschema%3Adigital%3A%3A1.0'
at network.oxalis.vefa.peppol.lookup.fetcher.ApacheFetcher.fetchResponseFromValidUri(ApacheFetcher.java:114)
at network.oxalis.vefa.peppol.lookup.fetcher.ApacheFetcher.fetch(ApacheFetcher.java:67)
... 166 common frames omitted
Caused by: java.net.UnknownHostException: B-2efe7b8d2c600a6193b3c25008552844.iso6523-actorid-upis.edelivery.tech.ec.europa.eu: Temporary failure in name resolution

This increase happened after bumping to oxalis 6.7.0, which includes vefa 3.7.0.

@pekniada
Copy link
Author

Probably related, but we experience a heavy increase in errors with stack-trace like this: Caused by: network.oxalis.vefa.peppol.lookup.api.LookupException: Unable to fetch 'http://B-2efe7b8d2c600a6193b3c25008552844.iso6523-actorid-upis.edelivery.tech.ec.europa.eu/iso6523-actorid-upis%3A%3A0192%3A984661185/services/busdox-docid-qns%3A%3Aurn%3Afdc%3Adigdir.no%3A2020%3Ainnbyggerpost%3Axsd%3A%3Ainnbyggerpost%23%23urn%3Afdc%3Adigdir.no%3A2020%3Ainnbyggerpost%3Aschema%3Adigital%3A%3A1.0' at network.oxalis.vefa.peppol.lookup.fetcher.ApacheFetcher.fetchResponseFromValidUri(ApacheFetcher.java:114) at network.oxalis.vefa.peppol.lookup.fetcher.ApacheFetcher.fetch(ApacheFetcher.java:67) ... 166 common frames omitted Caused by: java.net.UnknownHostException: B-2efe7b8d2c600a6193b3c25008552844.iso6523-actorid-upis.edelivery.tech.ec.europa.eu: Temporary failure in name resolution

This increase happened after bumping to oxalis 6.7.0, which includes vefa 3.7.0.

We've seen this as well, but this was actually just a correct result of the actual fix, where resolution errors are now correctly seen as LookupException instead of False NotFoundException and continue in Resolving based on configuration. These ('Unable to fetch ...') Errors were resolved on our side by tuning DNS configuration on client.
Likely culprit is a bigger configuration issue with DNS Sec auth chain for edelivery.tech.ec.europa.eu domain, already reported to European Commission in April 2024 by us causing a lot of SERVFAIL responses from NS resolving domain.

@aaron-kumar aaron-kumar added the Under review Issues currently being reviewed label Oct 11, 2024
@aaron-kumar aaron-kumar moved this to Open Issues- Review Required in Oxalis Public Roadmap Oct 11, 2024
@aaron-kumar
Copy link
Member

Fixed as part of 96de5d0

@aaron-kumar aaron-kumar self-assigned this Oct 26, 2024
@aaron-kumar aaron-kumar added Completed Already fixed/released and removed Under review Issues currently being reviewed labels Oct 26, 2024
@aaron-kumar aaron-kumar moved this from Open Issues- Review Required to Q4 2024 – October-December in Oxalis Public Roadmap Oct 26, 2024
@aaron-kumar aaron-kumar added this to the 7.x.x milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed Already fixed/released
Projects
Status: Q4 2024 – October-December
Development

No branches or pull requests

3 participants