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

FPP 8 cannot DNS Resolve short names. #2122

Open
bloojoop opened this issue Jan 21, 2025 · 5 comments
Open

FPP 8 cannot DNS Resolve short names. #2122

bloojoop opened this issue Jan 21, 2025 · 5 comments
Labels
Need Info Need additional Information or will close.

Comments

@bloojoop
Copy link
Contributor

In one of my environments I use a dynamic dns server and my controllers are all set to dhcp. I deliver the domain name via dhcp for both the domain name as well as the search suffix. After upgrading to fpp 8, i noticed that short names no longer can be resolved. I tested the with both 8.4.2 as well as 8.3.1 (still need to upgrade that controller).. This works exactly as expected in FPP 7.5 and earlier.

example.
domain name home.lab
controllers named f16.home.lab, f48.home.lab, k8b.home.lab, etc. when trying to resolve f16, f48, or k8b (or any other) the resolution fails. When resolving the fqdn it works as expected. In fpp 7.5, it resolves using the short names with zero issue.

@ghormann
Copy link
Member

@bloojoop is your domain end in ".local"?

@bloojoop
Copy link
Contributor Author

@ghormann , no it does not. It is home.lab. I also posted in the fpp slack channel. I am using dnsmasq for dhcp and dns and have it configured for domain=home.lab. I also added dhcp-option-force=option:domain-search,home.lab. I am noticing when using systemd-networkd and systemd-resolved (which is what fpp uses), it does not accept the domain name from the dhcp server hence the dhcp-option-force. I also figured out tonight that if I modify /etc/nsswitch.conf to remove the resolve [!UNAVAIL=return] it will once again resolve short names. I found this by comparing between 7.5 and 8.4.2...

@ghormann
Copy link
Member

ghormann commented Feb 1, 2025

This may be resolved in Master. Needs tested

@dkulp dkulp moved this to In Progress in FPP 9.0 Feb 1, 2025
@darylc darylc added Need Info Need additional Information or will close. and removed enhancement labels Feb 2, 2025
@patdelaney
Copy link
Contributor

@bloojoop Can you please pull in latest and restest?

@bloojoop
Copy link
Contributor Author

bloojoop commented Feb 2, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Info Need additional Information or will close.
Projects
Status: In Progress
Development

No branches or pull requests

4 participants