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: root server DNS behavior #14

Merged
merged 1 commit into from
Jul 22, 2023
Merged

feat: root server DNS behavior #14

merged 1 commit into from
Jul 22, 2023

Conversation

agaffney
Copy link
Contributor

Fixes #11

@agaffney
Copy link
Contributor Author

$ dig @localhost -p 8053 foo.bar.dolphin.cardano

; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> @localhost -p 8053 foo.bar.dolphin.cardano
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40850
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;foo.bar.dolphin.cardano.       IN      A

;; AUTHORITY SECTION:
dolphin.cardano.        999     IN      NS      ns1.dolphin.cardano.
dolphin.cardano.        999     IN      NS      ns2.dolphin.cardano.

;; ADDITIONAL SECTION:
ns1.dolphin.cardano.    999     IN      A       0.0.0.0
ns2.dolphin.cardano.    999     IN      A       42.42.31.31

;; Query time: 0 msec
;; SERVER: 127.0.0.1#8053(localhost) (UDP)
;; WHEN: Sat Jul 22 08:48:55 CDT 2023
;; MSG SIZE  rcvd: 207

@agaffney agaffney merged commit b168482 into main Jul 22, 2023
4 checks passed
@agaffney agaffney deleted the feat/dns-root-behavior branch July 22, 2023 15:05
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.

Change DNS server behavior to match a root server
2 participants