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

Support subdomain #6

Closed
grishy opened this issue Jul 31, 2023 · 1 comment
Closed

Support subdomain #6

grishy opened this issue Jul 31, 2023 · 1 comment
Assignees

Comments

@grishy
Copy link
Owner

grishy commented Jul 31, 2023

Theoretically, it is feasible to dynamically alter the interaction with the CNAME based on the response to the request.

When a device within a network attempts to connect to, for instance, test.lab.local, and test.lab.local is not present in the cache, a request is sent. Consequently, two potential approaches are possible: either listening on the multicast IP or subscribing to avahi dbus messages (assuming they are available).

Implementing this approach would result in reduced network traffic by minimizing the number of packages transmitted within the network, and it would also introduce additional logic to handle response behavior. An automatic redirection of all *.lab.local requests to lab.local through CNAME during runtime would be achievable through this mechanism.

@grishy grishy self-assigned this Jul 31, 2023
@grishy
Copy link
Owner Author

grishy commented Aug 8, 2023

Avahi don't support query messages in dbus (I couldn't find them)

@grishy grishy closed this as completed Aug 8, 2023
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

1 participant