INTERFACE-ORDER man page on Mageia
[printable version]
INTERFACE-ORDER(5) resolvconf INTERFACE-ORDER(5)
NAME
interface-order - resolvconf configuration file
DESCRIPTION
The file /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. In Mageia, the
expansion of each line is sorted again by the metric value of the
interfaces. (The name of the file is apt because a resolvconf name‐
server information record is named after the interface with which it is
associated.)
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.
Patterns may not contain whitespace, slashes or initial dots or tildes.
Blank lines and lines beginning with a '#' are ignored.
Resolvconf update scripts in /etc/resolvconf/update.d/ that consult
this file include the current default versions of dnsmasq, pdnsd and
libc. (Actually they don't read the file directly; they call the util‐
ity program /lib/resolvconf/list-records which lists records in the
specified order and omits the names of empty records.)
EXAMPLE
# /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
*
AUTHOR
Resolvconf was written by Thomas Hood <jdthood@gmail.com>.
COPYRIGHT
Copyright © 2004, 2011 Thomas Hood
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
SEE ALSO
resolvconf(8)
resolvconf 18 May 2011 INTERFACE-ORDER(5)
[top]
List of man pages available for Mageia
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|