Feature request: DNS server #223
Open
opened 2025-06-05 21:27:06 +00:00 by jfly
·
4 comments
No Branch/Tag Specified
main
update-nixpkgs
update-go-dep-github-com-klauspost-compress-v1.20.4
update-go-dep-github-com-klauspost-compress-v1.20.3
update-go-dep-github-com-klauspost-compress-v1.20.1
update-go-dep-github-com-klauspost-compress-v1.20.0
update-go-dep-github-com-klauspost-compress-v1.19.2
update-go-dep-github-com-klauspost-compress-v1.19.1
update-go-dep-github-com-klauspost-compress-v1.19.0
gh-pages
update-go-dep-github-com-klauspost-compress-v1.18.6
update-go-dep-golang-org-x-sync-v0.20.0
update-go-dep-github-com-libp2p-go-libp2p-kad-dht-v0.39.0
better-markdown-formatting
push-mwvmrltpltzk
ke-bump-go
update-go-dep-github-com-libp2p-go-libp2p-kad-dht-v0.38.0
runtime-configuration
push-ouqurpspomqw
adr/stateless-file-config
feat/validate-names
update-go-dep-github-com-spf13-pflag-v1.0.10
update-go-dep-github-com-spf13-pflag-v1.0.8
dave
fix/nixos-module-export
feat/switch-to-flake-parts
fix/revert-nixos-module-changes
feat/flake-refinements
feat/dev-flake
fix/nixos-module
feat/add-more-systems
feat/docs-icon
feat/go-1.24
feat/vendor-hash-renovate-workflow
flake-update-2025-03-10
feat/cleanup-and-comment
v0.1.0
Labels
Clear labels
Good first issue
Help wanted
mq
merging
mq
waiting
OS
Darwin
OS
Linux
Priority
Critical
1
Priority
High
2
Priority
Medium
3
Priority
Low
4
Status
Blocked
1
Status
On Hold
2
Status
Needs More Info
3
Status
Needs Review
4
Status
In Progress
5
Status
Won't Fix
6
Status
Available
Status
Duplicate
Type
Community Contribution
1
contributed by members of the Clan community
Type
Discussion
1
Type
Bug
2
Type
Question
3
Type
Epic
4
Type
Feature Request
5
Type
User Experience
5
Type
Enhancement
6
Type
Maintenance
7
Type
Documentation
Type
Question
Question to be resolved
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: clan/data-mesher#223
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I've been experimenting with adding my non-nixos phone to my clan-managed Zerotier network (clan/clan-core#1268).
I can't (yet ;)) run data-mesher on my Android phone, so I want to run a DNS server that's aware of data-mesher. I ended up writing a coredns plugin to make this happen: https://github.com/jfly/coredns-data-mesher.
I talked to folks at today's clan office hours, and they said adding a DNS server is probably in scope for data-mesher itself. I'd be happy to work on this if you'd like, I'd just like to chat a beforehand about how to do it, as I am far from a go-expert.
I did some additional research and found https://github.com/sleirsgoevy/gaidns, which is perfect for this: on any machine with data-mesher configured (which hooks into system dns via NSS), you can just run gaidns and have a DNS server that will resolve things using
getaddrinfounder the hood.So now I think there's no value in adding a DNS server to data-mesher itself. I do think there's value in packaging up gaidns and adding a nixos module for it, which could all happen in nixpkgs.
I like this 👍
@jfly can you add the nixos module for it to nixpkgs?
I will do this after some more battle testing. I've had some weird connectivity issues on my phone, and I'm worried it's about my android phone making multiple dns requests in parallel to gaidns.