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

DNS query and record check adapters #199

Merged
merged 7 commits into from
Jan 5, 2021
Merged

DNS query and record check adapters #199

merged 7 commits into from
Jan 5, 2021

Conversation

RodrigoAD
Copy link
Member

This PR includes two new adapters:

  • dns-query: Let query DNS over Https
  • dns-record-check: Composite adapter that relies on dns-query, and check if a certain record exists in the DNS

@github-actions
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

@krebernisak krebernisak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking nice! Few more suggestions :)

composite/dns-record-check/src/adapter.ts Outdated Show resolved Hide resolved
composite/dns-record-check/src/adapter.ts Outdated Show resolved Hide resolved
dns-query/src/adapter.ts Outdated Show resolved Hide resolved
}

const result = await Requester.request({
url: endpoints[dnsProvider],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url: endpoints[dnsProvider],
url: config.endpoint || endpoints[config.provider],

dns-query/src/adapter.ts Outdated Show resolved Hide resolved
typings/@chainlink/index.d.ts Outdated Show resolved Hide resolved
composite/dns-record-check/README.md Show resolved Hide resolved
dns-query/src/index.ts Outdated Show resolved Hide resolved
dns-query/src/adapter.ts Show resolved Hide resolved
composite/dns-record-check/src/adapter.ts Outdated Show resolved Hide resolved
composite/dns-record-check/src/config.ts Outdated Show resolved Hide resolved
composite/dns-record-check/src/adapter.ts Outdated Show resolved Hide resolved
dns-query/src/types.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@krebernisak krebernisak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @RodrigoAD! 💯

@RodrigoAD RodrigoAD merged commit e39189e into develop Jan 5, 2021
@boxhock boxhock deleted the dns-record-check branch June 18, 2021 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants