Size: 851
Comment:
|
← Revision 4 as of 2023-06-22 20:23:25 ⇥
Size: 1178
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
'''`openresolv`''' is an implementation of '''`resolvconf(8)`'''. It provides an API for programs to manipulate the [[Linux/resolv.conf|resolver file]]. | '''`openresolv`''' is an implementation of '''`resolvconf(8)`'''. It provides an API for programs to manipulate the [[Linux/ResolvConf|resolver configuration file]]. |
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. |
Line 21: | Line 29: |
`openresolv` is configured through `resolvconf.conf(5)`. See details [[Linux/resolvconf.conf|here]]. | `openresolv` is configured through [[Linux/ResolvConfConf|resolvconf.conf(5)]]. ---- == See also == [[https://man.archlinux.org/man/core/openresolv/resolvconf.8|resolvconf(8)]] [[https://man.archlinux.org/man/core/openresolv/resolvconf.conf.5|resolvconf.conf(5)]] |
OpenResolv
openresolv is an implementation of resolvconf(8). It provides an API for programs to manipulate the resolver configuration file.
Contents
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).