Changeset View
Changeset View
Standalone View
Standalone View
README.md
| Show All 31 Lines | Here's some reasons: | ||||
| * Works with other init systems than Debians' out of the box | * Works with other init systems than Debians' out of the box | ||||
| * Available as a 2 clause | * Available as a 2 clause | ||||
| [BSD license](http://www.freebsd.org/copyright/freebsd-license.html) | [BSD license](http://www.freebsd.org/copyright/freebsd-license.html) | ||||
| * Prefer configs via IF_METRIC for dynamic ordering | * Prefer configs via IF_METRIC for dynamic ordering | ||||
| * Configures zones for local resolvers other than libc | * Configures zones for local resolvers other than libc | ||||
| The last point is quite important, especially when running VPN systems. | The last point is quite important, especially when running VPN systems. | ||||
| Take the following resolv.conf files which have been generated by a | Take the following resolv.conf files which have been generated by a | ||||
| [DHCP client](../dhcpcd) and sent to resolvconf: | [DHCP client](https://github.com/NetworkConfiguration/dhcpcd) and sent to resolvconf: | ||||
| ``` | ``` | ||||
| # resolv.conf from bge0 | # resolv.conf from bge0 | ||||
| search foo.com | search foo.com | ||||
| nameserver 1.2.3.4 | nameserver 1.2.3.4 | ||||
| # resolv.conf from tap0 | # resolv.conf from tap0 | ||||
| domain bar.org | domain bar.org | ||||
| nameserver 5.6.7.8 | nameserver 5.6.7.8 | ||||
| ``` | ``` | ||||
| In this instance, queries for foo.com will go to 1.2.3.4 and queries for | In this instance, queries for foo.com will go to 1.2.3.4 and queries for | ||||
| bar.org will go to 5.6.7.8. | bar.org will go to 5.6.7.8. | ||||
| This does require the resolvers to be configured to pickup the resolvconf | This does require the resolvers to be configured to pickup the resolvconf | ||||
| generated configuration for them though. | generated configuration for them though. | ||||
| openresolv ships with helpers for: | openresolv ships with helpers for: | ||||
| * [unbound](http://www.unbound.net/) | * [unbound](http://www.unbound.net/) | ||||
| * [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html) | * [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html) | ||||
| * [ISC BIND](http://www.isc.org/software/bind) | * [ISC BIND](http://www.isc.org/software/bind) | ||||
| * [PowerDNS Recursor](http://wiki.powerdns.com/trac) | * [PowerDNS Recursor](http://wiki.powerdns.com/trac) | ||||
| * [systemd-resolved](https://www.freedesktop.org/software/systemd/man/latest/systemd-resolved.service.html) | |||||
| See the | See the | ||||
| [configuration section](https://roy.marples.name/projects/openresolv/config) | [configuration section](https://roy.marples.name/projects/openresolv/configuration) | ||||
| for more details. | for more details. | ||||
| If openresolv updates `/etc/resolv.conf` it can notify the following of this: | |||||
| * [Bonjour (mdnsd)](https://developer.apple.com/bonjour/) | |||||
| * [avahi](http://www.avahi.org/) | |||||