|ohnonot 68bcc395e4 do not use opennic resolv.conf, build our own||4 months ago|
|LICENSE||1 year ago|
|PKGBUILD.alt||4 months ago|
|README.md||8 months ago|
|default_ns.patch||2 years ago|
|opennic.service||3 years ago|
|opennic.sh||4 months ago|
|opennic_timed.service||4 months ago|
|opennic_timed.timer||8 months ago|
If the OpenNIC lookup fails, it's possible to replace the error message with a default DNS lookup address, as in this patch.
Please note that DHCP clients like
dhcpcd tend to have mechanisms in place to
/etc/resolv.conf. As opennic relies on an IP to be resolved over
the net, the changes made to said file would be overwritten by opennic.
Grab the PKGBUILD from the AUR.
The PKGBUILD would install the systemd service file
opennic.service to the
/usr/lib/systemd/system. For custom service files, the
recommended path is
opennic_timed pair of service & timer will execute the script once per day
instead of during system initialization. If you have trouble with
try this instead: copy both
opennic_timed.* files to
/etc/systemd/system, edit the
timer unit to your desires, and enable it with
systemctl enable opennic_timed.timer.
/usr/bin) and make the boot
scripts run the script on boot after connecting to the network.
Copyright (c) 2015-2016, mar77i
This software may be modified and distributed under the terms of the ISC license. See the LICENSE file for details.