openresolv
7 years agoRelease openresolv-3.5.6 openresolv-3.5.6
Roy Marples [Fri, 12 Jul 2013 16:41:38 +0000 (16:41 +0000)]
Release openresolv-3.5.6

7 years agoname_servers[_append] and search_domains[_append] now apply
Roy Marples [Fri, 12 Jul 2013 12:59:56 +0000 (12:59 +0000)]
name_servers[_append] and search_domains[_append] now apply
to all subscribers instead of just libc.

8 years agoAllows putting resolvconf into /usr/bin.
Roy Marples [Tue, 4 Jun 2013 12:05:31 +0000 (12:05 +0000)]
Allows putting resolvconf into /usr/bin.
Thanks to Jan Alexander Steffens.

8 years agoRelease openresolv-3.5.5 openresolv-3.5.5
Roy Marples [Tue, 4 Jun 2013 09:25:57 +0000 (09:25 +0000)]
Release openresolv-3.5.5

8 years agoFix newline generation, #26
Roy Marples [Mon, 3 Jun 2013 13:19:24 +0000 (13:19 +0000)]
Fix newline generation, #26

8 years agoDisregard dhcpcd setting interface_order
Roy Marples [Thu, 16 May 2013 19:18:32 +0000 (19:18 +0000)]
Disregard dhcpcd setting interface_order

8 years agoCorrect resolv_conf_local_only description.
Roy Marples [Sat, 27 Apr 2013 09:38:01 +0000 (09:38 +0000)]
Correct resolv_conf_local_only description.
Fixes #24 thanks to Jouke

8 years agoRelease openresolv-3.5.4 openresolv-3.5.4
Roy Marples [Fri, 4 Jan 2013 10:04:21 +0000 (10:04 +0000)]
Release openresolv-3.5.4

8 years agoDetect and work with systemd.
Roy Marples [Fri, 4 Jan 2013 09:28:11 +0000 (09:28 +0000)]
Detect and work with systemd.
Another fix for #10 as Arch has upgraded to it.

8 years agonameservers= should be name_servers=
Roy Marples [Sun, 30 Dec 2012 11:06:39 +0000 (11:06 +0000)]
nameservers= should be name_servers=
Split nameservers into name servers in documentation
Fixes #21

8 years agoStop quering the dnsmasq pidfile, compile options and dbus pidfile.
Roy Marples [Fri, 7 Dec 2012 15:18:30 +0000 (15:18 +0000)]
Stop quering the dnsmasq pidfile, compile options and dbus pidfile.
Just interrogate DBus for the available dnsmasq interfaces.

8 years agoAlign comment better.
Roy Marples [Fri, 7 Dec 2012 11:05:30 +0000 (11:05 +0000)]
Align comment better.

8 years agoOur test for SetDomainServers being in dnsmasq relies on dnsmasq having
Roy Marples [Fri, 7 Dec 2012 11:00:28 +0000 (11:00 +0000)]
Our test for SetDomainServers being in dnsmasq relies on dnsmasq having
enable-dbus already set which may not be the case which causes needless spam.
Fix this in the code and advise adding enable-dbus to the main dnsmasq config.

8 years agoRelease openresolv-3.5.3 openresolv-3.5.3
Roy Marples [Thu, 6 Dec 2012 11:25:04 +0000 (11:25 +0000)]
Release openresolv-3.5.3

8 years agoProtocols are normally interface:protocol, so sort by this accordingly.
Roy Marples [Sun, 2 Dec 2012 00:37:12 +0000 (00:37 +0000)]
Protocols are normally interface:protocol, so sort by this accordingly.

8 years agoSupport SetDomainServers DBus method for dnsmasq so we can specify IPv6 linklocal...
Roy Marples [Sun, 2 Dec 2012 00:06:28 +0000 (00:06 +0000)]
Support SetDomainServers DBus method for dnsmasq so we can specify IPv6 linklocal nameservers.

8 years agoSend dnsmasq IPv6 addresses constructed like A:B::C
Roy Marples [Wed, 7 Nov 2012 11:15:59 +0000 (11:15 +0000)]
Send dnsmasq IPv6 addresses constructed like A:B::C

8 years agoAdd a section about integration.
Roy Marples [Tue, 2 Oct 2012 13:36:00 +0000 (13:36 +0000)]
Add a section about integration.
Fixes #19.

8 years agoUpdate copyright.
Roy Marples [Tue, 2 Oct 2012 13:35:35 +0000 (13:35 +0000)]
Update copyright.

8 years agoDetect Slackware named (rc.bind) service.
Roy Marples [Tue, 2 Oct 2012 13:27:59 +0000 (13:27 +0000)]
Detect Slackware named (rc.bind) service.

9 years agoIf we receive multiple dns servers against a domain,
Roy Marples [Mon, 11 Jun 2012 15:40:37 +0000 (15:40 +0000)]
If we receive multiple dns servers against a domain,
only the first address is passed to dnsmasq over dbus.
Thanks to Naveen Rao.

9 years agoEmulate autoconf a bit more
Roy Marples [Sat, 21 Apr 2012 17:20:15 +0000 (17:20 +0000)]
Emulate autoconf a bit more

9 years agoRelease openresolv-3.5.2 openresolv-3.5.2
Roy Marples [Fri, 6 Apr 2012 15:13:17 +0000 (15:13 +0000)]
Release openresolv-3.5.2

9 years agoPrefer /run and /libexec if found, otherwise fallback to /var/run and
Roy Marples [Sun, 1 Apr 2012 17:25:23 +0000 (17:25 +0000)]
Prefer /run and /libexec if found, otherwise fallback to /var/run and
/lib if not.
Wrap service restart commands in if ... ; then ; fi so that the existance
check always returns zero to resolvconf if not found.

9 years agoDon't restart dnsmasq needlessly.
Roy Marples [Fri, 30 Mar 2012 09:36:56 +0000 (09:36 +0000)]
Don't restart dnsmasq needlessly.

9 years agoRelease openresolv-3.5.1 openresolv-3.5.1
Roy Marples [Tue, 27 Mar 2012 21:18:47 +0000 (21:18 +0000)]
Release openresolv-3.5.1

9 years agoFix resolv_conf_local_only.
Roy Marples [Tue, 27 Mar 2012 21:16:28 +0000 (21:16 +0000)]
Fix resolv_conf_local_only.

9 years agoRelease openresolv-3.5.0 openresolv-3.5.0
Roy Marples [Mon, 26 Mar 2012 14:29:53 +0000 (14:29 +0000)]
Release openresolv-3.5.0

9 years agoFix IPv6 parsing when a domain has an IPv4 address also.
Roy Marples [Mon, 26 Mar 2012 14:28:34 +0000 (14:28 +0000)]
Fix IPv6 parsing when a domain has an IPv4 address also.

9 years agoAdd .Lk macro to URLs
Roy Marples [Mon, 19 Mar 2012 11:10:53 +0000 (11:10 +0000)]
Add .Lk macro to URLs

9 years agoTurn of globbing when matching backlist entries.
Roy Marples [Wed, 22 Feb 2012 20:38:35 +0000 (20:38 +0000)]
Turn of globbing when matching backlist entries.
Fixes #16 again.

9 years agoAdd domain_blacklist and name_server_blacklist variables.
Roy Marples [Wed, 22 Feb 2012 13:42:52 +0000 (13:42 +0000)]
Add domain_blacklist and name_server_blacklist variables.
We default name_server_blacklist to 0.0.0.0 and allow pattern matching
on both lists.
Fixes #16.

9 years agoAdd resolv_conf_local_only which defaults to true.
Roy Marples [Wed, 22 Feb 2012 11:26:33 +0000 (11:26 +0000)]
Add resolv_conf_local_only which defaults to true.
This means that the default behaviour is not to add any nameservers to
resolv.conf if we have a local nameserver. This way we don't query the
servers twice if a host isn't found, but does rely on a working
local nameserver. Set it to false to revert to the prior behaviour.

9 years agoRelease openresolv-3.4.6 openresolv-3.4.6
Roy Marples [Tue, 31 Jan 2012 09:07:14 +0000 (09:07 +0000)]
Release openresolv-3.4.6

9 years agoCopyright
Roy Marples [Mon, 30 Jan 2012 23:28:27 +0000 (23:28 +0000)]
Copyright

9 years agoSend IPv6 domain servers to dnsmasq via dbus.
Roy Marples [Mon, 30 Jan 2012 23:27:53 +0000 (23:27 +0000)]
Send IPv6 domain servers to dnsmasq via dbus.

9 years agodnsmasq does not support setting IPv6 domain forwarders over dbus :(
Roy Marples [Thu, 15 Dec 2011 02:13:27 +0000 (02:13 +0000)]
dnsmasq does not support setting IPv6 domain forwarders over dbus :(

9 years agoRelease openresolv-3.4.5 openresolv-3.4.5
Roy Marples [Thu, 24 Nov 2011 00:03:59 +0000 (00:03 +0000)]
Release openresolv-3.4.5

9 years agoEnsure that we save all changes, including just a metric or privacy change
Roy Marples [Wed, 23 Nov 2011 22:09:21 +0000 (22:09 +0000)]
Ensure that we save all changes, including just a metric or privacy change
and pass this onto our subscribers accordingly.

9 years agoAdd domain, if available, to resolv.conf.
Roy Marples [Fri, 12 Aug 2011 13:19:25 +0000 (13:19 +0000)]
Add domain, if available, to resolv.conf.
Only add search if available and different from domain.
This allows us to more acurately represent the given data even if a little
superfluous.

9 years agoresolvconf -v now outputs DOMAIN= which is the first domain (not search) processed.
Roy Marples [Thu, 11 Aug 2011 17:32:50 +0000 (17:32 +0000)]
resolvconf -v now outputs DOMAIN= which is the first domain (not search) processed.

9 years agoUse read -r so that we ignore any backslash.
Roy Marples [Thu, 11 Aug 2011 12:26:17 +0000 (12:26 +0000)]
Use read -r so that we ignore any backslash.

9 years agoInstead of extracting options and sortlist we now just dump
Roy Marples [Thu, 11 Aug 2011 10:20:25 +0000 (10:20 +0000)]
Instead of extracting options and sortlist we now just dump
everthing that is not a nameserver, domain or search from our
listed resolv.confs.
We append our configured options and sortlist at the end of this to override
anything if needed.

9 years agoDocument resolv_conf_sortlist.
Roy Marples [Thu, 11 Aug 2011 10:19:53 +0000 (10:19 +0000)]
Document resolv_conf_sortlist.

9 years agoWhen printing the interfaces resolv.conf we should preserve whitespace
Roy Marples [Thu, 11 Aug 2011 09:18:16 +0000 (09:18 +0000)]
When printing the interfaces resolv.conf we should preserve whitespace
on lines with information.

9 years agoRespect the sortlist resolv.conf option
Roy Marples [Wed, 10 Aug 2011 20:02:18 +0000 (20:02 +0000)]
Respect the sortlist resolv.conf option

9 years agoMatch the --libexecdir behaviour of dhcpcd
Roy Marples [Wed, 10 Aug 2011 20:00:31 +0000 (20:00 +0000)]
Match the --libexecdir behaviour of dhcpcd

9 years agoRelease openresolv-3.4.4 openresolv-3.4.4
Roy Marples [Mon, 25 Jul 2011 20:22:55 +0000 (20:22 +0000)]
Release openresolv-3.4.4

9 years agoDon't write pdnsd.conf if it doesn't exist or it's not writeable.
Roy Marples [Mon, 25 Jul 2011 20:21:59 +0000 (20:21 +0000)]
Don't write pdnsd.conf if it doesn't exist or it's not writeable.

9 years agoRelease openresolv-3.4.3 openresolv-3.4.3
Roy Marples [Mon, 25 Jul 2011 19:35:02 +0000 (19:35 +0000)]
Release openresolv-3.4.3

9 years agoTry to ensure that the directories our config files want to live in exist.
Roy Marples [Sun, 24 Jul 2011 14:56:05 +0000 (14:56 +0000)]
Try to ensure that the directories our config files want to live in exist.

10 years agoUse printf %s
Roy Marples [Mon, 13 Jun 2011 15:22:02 +0000 (15:22 +0000)]
Use printf %s

10 years agoFix pdnsd for printf(1)
Roy Marples [Mon, 13 Jun 2011 13:33:22 +0000 (13:33 +0000)]
Fix pdnsd for printf(1)
More for #14

10 years agoUse printf %s for printing interface names.
Roy Marples [Mon, 13 Jun 2011 13:23:35 +0000 (13:23 +0000)]
Use printf %s for printing interface names.
More for #14

10 years agoRelease openresolv-3.4.2 openresolv-3.4.2
Roy Marples [Mon, 13 Jun 2011 10:36:47 +0000 (10:36 +0000)]
Release openresolv-3.4.2

10 years agoUse printf %s so user send data cannot do any formatting.
Roy Marples [Mon, 13 Jun 2011 10:34:00 +0000 (10:34 +0000)]
Use printf %s so user send data cannot do any formatting.
Important for handling some IPv6 addresses.
Fixes #14.

10 years agoImprove shell portability
Roy Marples [Wed, 1 Jun 2011 06:20:02 +0000 (06:20 +0000)]
Improve shell portability
Thanks to jilles@FreeBSD.org
Fixes #15

10 years agoRemove extra BUGS section.
Roy Marples [Fri, 13 May 2011 19:24:53 +0000 (19:24 +0000)]
Remove extra BUGS section.
Fixes #13.

10 years agoTypo.
Roy Marples [Thu, 21 Apr 2011 09:57:09 +0000 (09:57 +0000)]
Typo.
Fixes #12.

10 years agoRelease openresolv-3.4.1 openresolv-3.4.1
Roy Marples [Tue, 28 Dec 2010 16:17:03 +0000 (16:17 +0000)]
Release openresolv-3.4.1

10 years agoFix rc-service call by passing -Ds to the service and not rc-service.
Roy Marples [Thu, 23 Dec 2010 22:22:38 +0000 (22:22 +0000)]
Fix rc-service call by passing -Ds to the service and not rc-service.

10 years agoExport LOCALNAMESERVERS for any non shell subscribers.
Roy Marples [Fri, 5 Nov 2010 09:28:43 +0000 (09:28 +0000)]
Export LOCALNAMESERVERS for any non shell subscribers.

10 years agoRelease openresolv-3.4.0 openresolv-3.4.0
Roy Marples [Fri, 5 Nov 2010 07:34:36 +0000 (07:34 +0000)]
Release openresolv-3.4.0

10 years ago-d instead of -x
Roy Marples [Thu, 4 Nov 2010 15:51:01 +0000 (15:51 +0000)]
-d instead of -x

10 years agoAdd a kuldge so named can work out of the box on Debian
Roy Marples [Thu, 4 Nov 2010 15:46:21 +0000 (15:46 +0000)]
Add a kuldge so named can work out of the box on Debian
as the init script there is called bind9.

10 years agoAllow service names to be configured.
Roy Marples [Thu, 4 Nov 2010 14:42:02 +0000 (14:42 +0000)]
Allow service names to be configured.

10 years agoFix invoke-rc.d a little.
Roy Marples [Thu, 4 Nov 2010 14:41:51 +0000 (14:41 +0000)]
Fix invoke-rc.d a little.

10 years agoFix for Makefile syntax.
Roy Marples [Thu, 4 Nov 2010 12:58:21 +0000 (12:58 +0000)]
Fix for Makefile syntax.

10 years agoWorkaround a bug in the dash shell
Roy Marples [Thu, 4 Nov 2010 12:56:31 +0000 (12:56 +0000)]
Workaround a bug in the dash shell

10 years agoMatch copyright in other subscribers
Roy Marples [Thu, 4 Nov 2010 11:57:28 +0000 (11:57 +0000)]
Match copyright in other subscribers

10 years agoUse a configure command instead of working things out in the Makefile.
Roy Marples [Thu, 4 Nov 2010 11:40:19 +0000 (11:40 +0000)]
Use a configure command instead of working things out in the Makefile.
This makes us a little more lean and mean and allows us to add an override
for ArchLinux, fixing #10.

10 years agoIf local name servers are configured by resolvconf -a lo we need to
Roy Marples [Sat, 30 Oct 2010 13:17:59 +0000 (13:17 +0000)]
If local name servers are configured by resolvconf -a lo we need to
respect that.

10 years agoFix for no entries.
Roy Marples [Sat, 30 Oct 2010 12:19:21 +0000 (12:19 +0000)]
Fix for no entries.

10 years agoAllow search domains and name servers to be appended.
Roy Marples [Fri, 29 Oct 2010 18:48:10 +0000 (18:48 +0000)]
Allow search domains and name servers to be appended.

10 years agoAllow pdnsd_conf to work without pdnsd_resolv.
Roy Marples [Fri, 29 Oct 2010 18:37:55 +0000 (18:37 +0000)]
Allow pdnsd_conf to work without pdnsd_resolv.

10 years agoDocument pdnsd_conf option.
Roy Marples [Fri, 29 Oct 2010 16:22:25 +0000 (16:22 +0000)]
Document pdnsd_conf option.

10 years agoWhitespace
Roy Marples [Fri, 29 Oct 2010 15:53:36 +0000 (15:53 +0000)]
Whitespace

10 years agoAllow pdnsd to add forward domains to it's configuration file.
Roy Marples [Fri, 29 Oct 2010 15:47:49 +0000 (15:47 +0000)]
Allow pdnsd to add forward domains to it's configuration file.

10 years agoAdd support for pdnsd.
Roy Marples [Thu, 28 Oct 2010 21:43:00 +0000 (21:43 +0000)]
Add support for pdnsd.

10 years agoRelease openresolv-3.3.6
Roy Marples [Thu, 23 Sep 2010 21:04:40 +0000 (21:04 +0000)]
Release openresolv-3.3.6

10 years agoAdd missing -I option to getopt(1p) call.
Roy Marples [Thu, 23 Sep 2010 19:12:59 +0000 (19:12 +0000)]
Add missing -I option to getopt(1p) call.
Thanks to Michał Górny.

10 years agoWe should not abuse Ta.
Roy Marples [Sun, 4 Jul 2010 08:16:54 +0000 (08:16 +0000)]
We should not abuse Ta.

11 years agoSupport dbus on dnsmasq on Debian.
Roy Marples [Thu, 10 Jun 2010 15:43:24 +0000 (15:43 +0000)]
Support dbus on dnsmasq on Debian.

11 years agoRelease openresolv-3.3.5 openresolv-3.3.5
Roy Marples [Thu, 10 Jun 2010 13:18:08 +0000 (13:18 +0000)]
Release openresolv-3.3.5

11 years agoSupport Debian invoke-rc.d
Roy Marples [Thu, 10 Jun 2010 13:17:46 +0000 (13:17 +0000)]
Support Debian invoke-rc.d

11 years agoTypo. Thanks to David Horn.
Roy Marples [Thu, 28 Jan 2010 10:14:26 +0000 (10:14 +0000)]
Typo. Thanks to David Horn.

11 years agoDon't stomp on existing configs.
Roy Marples [Fri, 4 Dec 2009 22:22:05 +0000 (22:22 +0000)]
Don't stomp on existing configs.

11 years agoname_servers is stripped of local host and then passed to subcribers.
Roy Marples [Fri, 4 Dec 2009 21:07:51 +0000 (21:07 +0000)]
name_servers is stripped of local host and then passed to subcribers.
This allows global DNS to be set, fixes #7.

11 years agoRelease openresolv-3.3.4
Roy Marples [Fri, 4 Dec 2009 13:06:38 +0000 (13:06 +0000)]
Release openresolv-3.3.4

11 years agoFix a restart issue.
Roy Marples [Fri, 4 Dec 2009 10:47:01 +0000 (10:47 +0000)]
Fix a restart issue.

11 years agoAllow only one configuration file to be configured.
Roy Marples [Fri, 4 Dec 2009 10:13:50 +0000 (10:13 +0000)]
Allow only one configuration file to be configured.

11 years agoSIGHUP can restart unbound nicely. If that fails, restat the service.
Roy Marples [Fri, 4 Dec 2009 10:13:09 +0000 (10:13 +0000)]
SIGHUP can restart unbound nicely. If that fails, restat the service.

11 years agoAllow expansion of private_interfaces
Roy Marples [Thu, 3 Dec 2009 16:10:24 +0000 (16:10 +0000)]
Allow expansion of private_interfaces

11 years agoExport 'resolvconf -v' variables for executeble subscribers.
Roy Marples [Thu, 3 Dec 2009 14:49:54 +0000 (14:49 +0000)]
Export 'resolvconf -v' variables for executeble subscribers.

11 years agoInstall subscribers without the execute bit.
Roy Marples [Thu, 3 Dec 2009 14:36:12 +0000 (14:36 +0000)]
Install subscribers without the execute bit.
If a subscriber has the execute then it is executed, otherwise it
is sourced into a subshell for speed.
This allows subcribers to be written in other languages.

11 years agoFix distfile openresolv-3.3.3
Roy Marples [Sat, 21 Nov 2009 02:23:50 +0000 (02:23 +0000)]
Fix distfile

11 years agoRelease 3.3.3
Roy Marples [Sat, 21 Nov 2009 02:10:44 +0000 (02:10 +0000)]
Release 3.3.3

11 years agoImprove subscriber documentation.
Roy Marples [Fri, 20 Nov 2009 23:50:01 +0000 (23:50 +0000)]
Improve subscriber documentation.

11 years agoIgnore unbound
Roy Marples [Fri, 20 Nov 2009 23:49:59 +0000 (23:49 +0000)]
Ignore unbound

11 years agoUse resolv.conf.head and tail files if present.
Roy Marples [Fri, 20 Nov 2009 20:23:48 +0000 (20:23 +0000)]
Use resolv.conf.head and tail files if present.