Skip to content

Releases: onaci/cirrid

24 May 2021, cirrid ona.im DNS shim for OSX and Linux (add /etc/cirrid.ini for OSX).

24 May 00:40
Compare
Choose a tag to compare

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.)

On Linux and OSX, you can

  • use the /etc/cirrid.ini file so user can add random dns over-rides
  • it will look at the cirri infra container to see what the STACKDOMAIN is, and add a local DNS IP for that

20 May 2021, cirrid ona.im DNS shim for OSX and Linux.

19 May 22:45
Compare
Choose a tag to compare

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.)

Updates for Linux:

  • add /etc/cirrid.ini file so user can add random dns over-rides
  • ask cirri container what the STACKDOMAIN is

021 April 2021, cirrid ona.im DNS shim for OSX and Linux.

21 Apr 03:03
Compare
Choose a tag to compare

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