021 April 2021, cirrid ona.im DNS shim for OSX and Linux.
Pre-release
Pre-release
SvenDowideit
released this
21 Apr 03:03
·
7 commits
to master
since this release
download the binary for your OS, make it executable, and then install
chmod 755 ./cirrid
sudo ./cirrid install
the service will be installed to run as root on Linux and OSX, and will auto start.
it will
- add DNS resolution for
$(hostname).ona.im
and*.$(hostname).ona.im
to point to a virtual IP address, so it works when you don't have internet access. - set up an ipaddress alias so the virtual IP address works.
- flush the local DNS cache (on Ubuntu it seems to avoid caching, which is nice.)
TODO: get the STACKDOMAIN from the cirri container - the hard thing is that its necessary to watch for Docker starting, and to re-check regularly...
NOTE: don't use
dig
on OSX - it doesn't obey the same dns resolution rules as the rest of OSX