I l@ve RuBoard |
5.10 Restarting a Name Server with the Same Arguments5.10.1 ProblemYou want to restart named with ndc, but keep the same command-line arguments. 5.10.2 SolutionSpecify the command-line arguments after the restart command. For example: # ndc restart -c /tmp/named.conf Or, if you're not sure what the command-line arguments were, use: # ndc exec The exec command tells named to exec( ) a new copy of itself, including any command-line argument it was started with. 5.10.3 DiscussionIf you run ndc from the command line and named is linked against a faulty copy of getopt( ), you may need to specify "- -" as the first argument to restart to make sure the options are passed to named correctly. BIND 9 name servers don't support restart and exec. 5.10.4 See AlsoSection 3.2, for setting up ndc to work with a name server; Section 5.5, for a situation in which you'd restart a name server (in this case, to clear the cache); and "Controlling a Name Server" in Chapter 7 of DNS and BIND. |
I l@ve RuBoard |