Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
inetd is used to spawn other daemons as needed (based on the config of /etc/inetd.conf). Prior to introduction of inetd one had to start all daemons and leave them running all the time. Just configure inetd.conf to only start those daemons you want to be able to access on demand rather than have running all the time. (For example on secure systems you generally want things like telnet, ftpd, rsh turned off in inetd and then use ssh/scp/sftp instead.)
DNS typically is run with BIND using the daemon, named, which should run all the time for a DNS server so should not be in inetd.
Some packages give you a choice as to whether to leave the daemon up all the time or to run it from inetd. Since it varies there is no one size fits all answer to your question but the key points in my response are:
Leave inetd on but disable unnecessary services in inetd.conf.
Run named as daemon from the BIND configuration (assuming your DNS is BIND and not something odd).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.