Operation Manual

NETCONFIG_DNS_FORWARDER
denes the name of the DNS forwarder that has to be congured
To disable DNS conguration using netcong, set NETCONFIG_DNS_POLICY=''.
For more information about netconfig, see man 8 netconfig.
Example 23.5
/etc/resolv.conf
# Our domain
search example.com
#
# We use dns.example.com (192.168.1.116) as nameserver
nameserver 192.168.1.116
23.6.1.5 /sbin/netcong
netconfig is a modular tool to manage additional network conguration settings. It
merges statically dened settings with settings provided by autoconguration mecha-
nisms as DHCP or PPP according to a predened policy. The required changes are ap-
plied to the system by calling the netcong modules that are responsible for modifying
a conguration le and restarting a service or a similar action.
netconfig recognizes three main actions. The netconfig modify and
netconfig remove commands are used by daemons such as DHCP or PPP to
provide or remove settings to netcong. Only the netconfig update command
is available for the user:
modify
The netconfig modify command modies the current interface and service
specic dynamic settings and updates the network conguration. Netcong reads
settings from standard input or from a le specied with the --lease-file
filename option and internally stores them until a system reboot (or the next
modify or remove action). Already existing settings for the same interface and
service combination are overwritten. The interface is specied by the -i
interface_name parameter. The service is specied by the -s
service_name parameter.
remove
The netconfig remove command removes the dynamic settings provided by
a modicatory action for the specied interface and service combination and updates
402 Reference