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

feat: switch to new datum format #13

Merged
merged 1 commit into from
Jul 22, 2023
Merged

feat: switch to new datum format #13

merged 1 commit into from
Jul 22, 2023

Conversation

agaffney
Copy link
Contributor

Fixes #12

@agaffney
Copy link
Contributor Author

Run server

$ ./chnsd 
{"level":"info","timestamp":"2023-07-21T14:06:16-05:00","caller":"chnsd/main.go:75","msg":"starting DNS listener on :8053"}
{"level":"info","timestamp":"2023-07-21T14:06:17-05:00","caller":"indexer/indexer.go:133","msg":"found updated registration for domain: snorkel.cardano."}
{"level":"info","timestamp":"2023-07-21T14:06:20-05:00","caller":"indexer/indexer.go:133","msg":"found updated registration for domain: dolphin.cardano."}

Perform queries

$ dig +short @localhost -p 8053 NS snorkel.cardano
ns1.snorkel.cardano.
ns2.snorkel.cardano.
$ dig +short @localhost -p 8053 A ns1.snorkel.cardano
0.0.0.0
$ dig +short @localhost -p 8053 A ns2.snorkel.cardano
42.42.31.31
$ dig +short @localhost -p 8053 NS dolphin.cardano
ns1.dolphin.cardano.
ns2.dolphin.cardano.
$ dig +short @localhost -p 8053 A ns1.dolphin.cardano
0.0.0.0
$ dig +short @localhost -p 8053 A ns2.dolphin.cardano
42.42.31.31

@agaffney agaffney merged commit c8e3439 into main Jul 22, 2023
4 checks passed
@agaffney agaffney deleted the feat/new-datum-format branch July 22, 2023 12:42
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.

Switch to new datum format
2 participants