]> git.ipfire.org Git - people/ms/network.git/blame - man/network-dns-server.txt
man: Convert network-zone(8) to asciidoc
[people/ms/network.git] / man / network-dns-server.txt
CommitLineData
063089cb
MT
1network-dns-server(8)
2=====================
3
4NAME
5----
6network-dns-server - Controls the DNS settings
7
8SYNOPSIS
9--------
10[verse]
11'network dns-server' add SERVER [PRIORITY]
12'network dns-server' remove SERVER
13'network dns-server' list
14'network dns-server' update
15
16DESCRIPTION
17-----------
18With this command, you will be able to configure the local DNS
19configuration.
20
21You may add and remove DNS servers as well as view the settings.
22
23COMMANDS
24--------
25The following commands are understood:
26
27'add' SERVER [PRIORITY]::
28 A new DNS server may be added to the list by the
29 'add' command.
30 A priority that will rank the server my optionally be given.
31
32 NOTE: SERVER must be a valid IP address and PRIORITY
33 must be a positive number.
34 The smaller this number, the higher is is the rank of
35 the server.
36
37'remove' SERVER::
38 The given server will be removed from the list of DNS servers.
39
40'list'::
41 Shows a list of all servers that are currently in use.
42
43'update'::
44 This command will re-create the system's configuration
45 files. It should not be required to use this command
46 very often.
47
48SETTINGS
49--------
50The following settings may be set using link:network-settings[8]:
51
52'DNS_USE_LOCAL_RESOLVER = [true|false]'::
53 This option defines whether the local DNS resolver should
54 be used or not.
55
56 Basically, the option adds localhost to the list of nameservers
57 in link:resolv.conf[5].
58
59'DNS_SEARCH_DOMAINS ='::
60 This setting configures the search domains for DNS queries
61 made by the local system.
62
63'DNS_RANDOMIZE = [true|false]'::
64 This option will break the DNS server ranks and will query
65 them in a random order which is useful to load-balance
66 multiple DNS servers.
67
68AUTHORS
69-------
70Michael Tremer
71
72SEE ALSO
73--------
74link:network[8],
75link:network-settings[8]