Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Startup and shutdown of the DNS resolver

&pagelevel(5)&pagelevel

The DNS resolver is automatically started up when the POSIX subsystem is started and shut down when POSIX is shut down if it is activated by AUTOSTART='yes' in /etc/default/TCP-IP-SV.dns.


Startup call for the DNS resolver

The startup call for the DNS resolver daemon is:

/etc/init.d/TCP-IP-SV.dns start

Initially a check is made to see whether AUTOSTART is set to 'yes'. If it is not, no further action is executed. If it is set to 'yes', a check is made to see whether a daemon has already been started. If this is the case, only a corresponding message is output, and if it is not the case the daemon is started.

If the daemon is to be started in any case, irrespective of AUTOSTART, the mstart option must be used instead of start.

The dstart option enables the daemon to be executed in the foreground for debugging purposes; the debugging options in the TCP-IP-SV.dns script may need to be adjusted.


Restart call for the DNS resolver

There is also a restart call offered for the DNS resolver daemon. This call is needed whenever a modified configuration file is to be read in during a session.

The restart calls for the DNS resolver is:

/etc/init.d/TCP-IP-SV.dns restart

A check is made during the restart procedure run to determine if the daemon concerned has been started. If no active daemon is found, a normal new startup is executed.


Shutting down the DNS resolver

The following call is available to stop the DNS resolver daemon:

/etc/init.d/TCP-IP-SV.dns stop

The shutdown only applies until the POSIX subsystem is terminated. If an automatic restart is to be prevented when the POSIX subsystem is restarted, the AUTOSTART variable in /etc/default/TCP-IP-SV.dns must be set to 'no' or 'never'.