Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Karen Lilly Creations

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 78 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       lwresd  [  -C config-file ]  [ -d debug-level ]  [ -f ]  [
       -g ]  [ -i pid-file ]  [ -n #cpus ]  [ -P  port  ]   [  -p
       port ]  [ -s ]  [ -t directory ]  [ -u user ]  [ -v ]


       lwresd  is  the  daemon  providing name lookup services to
       clients that use the BIND 9 lightweight resolver  library.
       It  is  essentially  a  stripped-down,  caching-only  name
       server that answers queries using the BIND  9  lightweight
       resolver protocol rather than the DNS protocol.

       lwresd  listens  for resolver queries on a UDP port on the
       IPv4 loopback interface, This means that lwresd
       can  only  be  used  by  processes  running  on  the local
       machine. By default  UDP  port  number  921  is  used  for
       lightweight resolver requests and responses.

       Incoming  lightweight resolver requests are decoded by the
       server which then resolves them using  the  DNS  protocol.
       When  the DNS lookup completes, lwresd encodes the answers
       in the lightweight resolver format and returns them to the
       client that made the request.

       If   /etc/resolv.conf  contains  any  nameserver  entries,
       lwresd sends recursive DNS queries to those servers.  This
       is  similar  to  the  use  of forwarders in a caching name
       server. If no nameserver entries are present, or  if  for­
       warding  fails,  lwresd  resolves the queries autonomously
       starting at the root name servers, using a  built-in  list
       of root server hints.


       -C config-file
              Use  config-file  as the configuration file instead
              of the default, /etc/resolv.conf.

       -d debug-level
              Set  the  daemon's  debug  level  to   debug-level.
              Debugging traces from lwresd become more verbose as
              the debug level increases.

       -f     Run the server in the foreground (i.e. do not  dae­

       -g     Run the server in the foreground and force all log­
              ging to stderr.

       -n #cpus
              Create #cpus worker threads to  take  advantage  of
              multiple CPUs. If not specified, lwresd will try to
              determine the number of CPUs present and create one

       -s     Write memory usage statistics to stdout on exit.

              Note: This option is mainly of interest to  BIND  9
              developers  and  may  be  removed  or  changed in a
              future release.

       -t directory
              chroot() to directory after processing the  command
              line  arguments,  but before reading the configura­
              tion file.

              Warning: This option should be used in  conjunction
              with  the -u option, as chrooting a process running
              as root doesn't enhance security on  most  systems;
              the  way  chroot() is defined allows a process with
              root privileges to escape a chroot jail.

       -u user
              setuid() to user after completing privileged opera­
              tions,  such  as  creating  sockets  that listen on
              privileged ports.

       -v     Report the version number and exit.


              The default configuration file.

              The default process-id file.


       named(8), lwres(3), resolver(5).


       Internet Software Consortium

BIND9                     June 30, 2000                 LWRESD(8)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =

Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds