question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add the FreeBSD usage instructions

See original GitHub issue

You should include the FreeBSD usage section: It is recommended that DNS requests are cached using nscd(8).

  • Enable nscd daemon with the command:
# sysrc nscd_enable="YES""
  • Start nscd daemon with the command:
# service nscd start
  • Enable nscd DNS cache by changing the “hosts” line in /etc/nsswitch.conf to: ‘hosts: cache files dns’

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Guymercommented, Sep 2, 2017

Hi, I just tried this on my FreeBSD 11.1 box and it appears to work. I manually added the line nscd_enable="YES" to my /etc/rc.conf file rather than use the sysrc utility. That is just personal preference I think. My only comment on the whole method is that using nscd at all is optional. It will improve performance by caching the results of /etc/hosts but I think this is going to be of marginal benefit for my usage scenario.

0reactions
StevenBlackcommented, Aug 5, 2018

Thanks everybody!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 2. Installing FreeBSD
Guide about how to install FreeBSD, the minimum hardware requirements and supported architectures, how to create the installation media, ...
Read more >
Frequently Asked Questions for FreeBSD 12.X and 13.X
This is the Frequently Asked Questions (FAQ) for FreeBSD versions 13.X and 12.X. Every effort has been made to make this FAQ as...
Read more >
Chapter 4. Installing Applications: Packages and Ports
A FreeBSD package contains pre-compiled copies of all the commands for an application, as well as any configuration files and documentation. A ...
Read more >
FreeBSD Handbook
This handbook covers the installation and day to day use of FreeBSD 5.5-RELEASE and FreeBSD 6.1-RELEASE. ... Please insert MFS root floppy and...
Read more >
FreeBSD/i386 4.6-RELEASE Installation Instructions
1 Installing FreeBSD. This section documents the process of installing a new distribution of FreeBSD. These instructions pay particular emphasis to the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found