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

enable_dns_caching breaks the resolver #456

Closed
mfeit-internet2 opened this issue Jan 25, 2024 · 0 comments
Closed

enable_dns_caching breaks the resolver #456

mfeit-internet2 opened this issue Jan 25, 2024 · 0 comments
Assignees
Labels

Comments

@mfeit-internet2
Copy link
Member

enable_dns_caching changes /etc/nsswitch.conf from hosts: db files nisplus nis dns to hosts: resolve files dns myhostname.

The latter causes resolution times for the local hostname (which is in /etc/hosts) of about five seconds, which is long enough that pScheduler throws in the towel on it. The docs for systemd-resolved say it's supposed to synthesize a cache entry for the local host name, but I'm not seeing that.

I recommend hosts: files resolve files dns myhostname instead.

I suspect that this may be gumming up the startup of OpenSearch, because making the change above gets it to start after its other problems are resolved.

@github-project-automation github-project-automation bot moved this to Ready in perfSONAR Jan 25, 2024
@mfeit-internet2 mfeit-internet2 changed the title enable_dns_caching enable_dns_caching breaks the resolver Jan 25, 2024
@mfeit-internet2 mfeit-internet2 moved this from Ready to In Review in perfSONAR Jan 29, 2024
@mfeit-internet2 mfeit-internet2 moved this from In Review to Done in perfSONAR Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants