File: interface-order.5

package info (click to toggle)
resolvconf 1.46
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 436 kB
  • ctags: 26
  • sloc: sh: 639; makefile: 33
file content (60 lines) | stat: -rw-r--r-- 1,683 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.TH INTERFACE\-ORDER "5" "3 June 2004" "resolvconf" "resolvconf"
.SH NAME
interface-order \- resolvconf configuration file
.SH DESCRIPTION
The file
.I /etc/resolvconf/interface-order
is used to control the order
in which
resolvconf nameserver information records
are processed
by those resolvconf update scripts
that consult this file.
(The name of the file is apt because
a resolvconf nameserver information record
is named after the interface with which it is associated.)
.PP
The file contains a sequence of shell glob patterns,
one per line.
The position of a record in the order
is the point at which its name first matches a pattern.
.PP
Patterns may not contain whitespace, slashes or initial dots or tildes.
Blank lines and lines beginning with a '#' are ignored.
.PP
Resolvconf update scripts in
.I /etc/resolvconf/update.d/
that consult this file include the current default versions of
.IR bind ,
.IR dnsmasq ,
.IR pdnsd
and
.IR libc .
(Actually they don't read the file directly;
they call the utility program
.I /lib/resolvconf/list-records
which lists records in the specified order.)
.SH EXAMPLE
.nf
# /etc/resolvconf/interface-order
# Use nameservers on the loopback interface first.
lo*
# Next use records for Ethernet interfaces
eth*
# Next use records for Wi-Fi interfaces
wlan*
# Next use records for PPP interfaces
ppp*
# Last use other interfaces
*

.fi
.SH AUTHOR
Resolvconf was written by Thomas Hood <jdthood@yahoo.co.uk>.
.SH COPYRIGHT
Copyright \(co 2004 Thomas Hood
.br
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
.BR resolvconf (8)