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 server should resolve lighthouse hosts #560

Closed
NickHerrig opened this issue Oct 27, 2021 · 3 comments
Closed

DNS server should resolve lighthouse hosts #560

NickHerrig opened this issue Oct 27, 2021 · 3 comments

Comments

@NickHerrig
Copy link

Description:
When utilizing the dns listener serve_dns on any number of lighthouses, it is expected that the dns listener can also resolve the lighthouse along with other hosts.

Expected Behavior:
Where

  • lighthouse IP is 10.0.0.1
  • lighthouse name is lighthouse.mesh.example.com
>> dig @10.0.0.1 lighthouse.mesh.example.com

; <<>> DiG 9.10.6 <<>> @10.0.0.1 lighthouse.mesh.example.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4452
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;lighthouse.mesh.example.com.	IN	A

;; ANSWER SECTION:
lighthouse.mesh.example.com.	3600 IN	A	10.0.0.1

;; Query time: 55 msec
;; SERVER: 10.0.0.1#53(10.0.01)
;; WHEN: Wed Oct 27 10:46:58 CDT 2021
;; MSG SIZE  rcvd: 94

Current Behavior:

>>dig @10.0.0.1 lighthouse.mesh.example.com

; <<>> DiG 9.10.6 <<>> @10.0.0.1 lighthouse.mesh.example.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10146
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;lighthouse.mesh.example.com.	IN	A

;; Query time: 55 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
;; WHEN: Wed Oct 27 10:51:24 CDT 2021
;; MSG SIZE  rcvd: 46
@benyanke
Copy link
Contributor

Would love to see this as well, it causes me to need to handle some weird edge cases in the infrastructure I've built on top of nebula.

@waldner
Copy link

waldner commented Feb 23, 2022

+1, or at least provide a mechanism to manually update the DNS.

@johnmaguire
Copy link
Collaborator

Closing this as a dupe of #271.

@johnmaguire johnmaguire closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2022
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

No branches or pull requests

4 participants