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

Add example of .local name resolution #41

Open
hadess opened this issue Oct 1, 2021 · 1 comment
Open

Add example of .local name resolution #41

hadess opened this issue Oct 1, 2021 · 1 comment

Comments

@hadess
Copy link
Contributor

hadess commented Oct 1, 2021

This would be helpful for applications and libraries that want to add .local name resolution without requiring OS support (NSS configuration, Avahi availability and accessibility).

I'm guessing it involves starting a listen and checking for R_A and R_AAAA type answers in the callback, but I don't know which parameters I'd need to pass to mdns_listen(), and it's been 17 years since I last worked on an mDNS implementation.

@jbkempf
Copy link
Contributor

jbkempf commented Oct 1, 2021

That's a good point.

hadess added a commit to hadess/libmicrodns that referenced this issue Mar 17, 2022
Prints the IPv4, followed by the IPv6 address for the requested
hostname, and exits.

Closes: videolabs#41
hadess added a commit to hadess/libmicrodns that referenced this issue Mar 17, 2022
Prints the IPv4, followed by the IPv6 address for the requested
hostname, and exits.

Closes: videolabs#41
hadess added a commit to hadess/libmicrodns that referenced this issue Mar 20, 2022
Prints the IPv4, followed by the IPv6 address for the requested
hostname, and exits.

Closes: videolabs#41
hadess added a commit to hadess/libmicrodns that referenced this issue Mar 20, 2022
Prints the IPv4, followed by the IPv6 address for the requested
hostname, and exits.

Closes: videolabs#41
hadess added a commit to hadess/libmicrodns that referenced this issue Jul 1, 2023
Prints the IPv4, followed by the IPv6 address for the requested
hostname, and exits.

Closes: videolabs#41
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

2 participants