Differences between revisions 1 and 2
Revision 1 as of 2023-01-08 22:38:01
Size: 851
Comment:
Revision 2 as of 2023-01-08 22:40:57
Size: 986
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
If a program or service wants to manipulate the resolver file, it can instead pipe the editted configuration into `resolvconf(8)` with the argument `-a INTERFACE` (or `-a INTERFACE.PROTOCOL`). If a DNS server is enabled, such as [[Dnsmasq|dnsmasq]], `resolvconf(8)` forwards the configuration to the service. Otherwise `resolvconf(8)` will interpret the editted configuration together with the resolver file as-is, and write a comprehensive resolver file. If a program or service wants to manipulate the resolver file, it can instead pipe the editted configuration into `resolvconf(8)` with the argument `-a INTERFACE` (or `-a INTERFACE.PROTOCOL`).

If a DNS server is enabled, such as [[Dnsmasq|dnsmasq]], `resolvconf(8)` forwards the configuration to the service. These services are referred to as '''subscribers'''. To force push an update to all subscribers, try:

{{{
resolvconf -u
}}}

Otherwise `resolvconf(8)` will interpret the editted configuration together with the resolver file as-is, and write a comprehensive resolver file.

OpenResolv

openresolv is an implementation of resolvconf(8). It provides an API for programs to manipulate the resolver file.


Usage

If a program or service wants to manipulate the resolver file, it can instead pipe the editted configuration into resolvconf(8) with the argument -a INTERFACE (or -a INTERFACE.PROTOCOL).

If a DNS server is enabled, such as dnsmasq, resolvconf(8) forwards the configuration to the service. These services are referred to as subscribers. To force push an update to all subscribers, try:

resolvconf -u

Otherwise resolvconf(8) will interpret the editted configuration together with the resolver file as-is, and write a comprehensive resolver file.


Configuration

openresolv is configured through resolvconf.conf(5). See details here.


CategoryRicottone

OpenResolv (last edited 2023-06-22 20:23:25 by DominicRicottone)