Generate Private Host Names

Post tags: | host_names | linux |

codepen.io/anon hashids example

Random hostnames

Private for me

        var hashids = new Hashids("coot private stock", 5, "abcdefghijklmnopqrstuvwxyz1234567890");
        var id = hashids.encode(9);
        var numbers = hashids.decode(id);
        
        $("#input").text("["+numbers.join(", ")+"]");
        $("#output").text(id);
        
        1 => 374kr - ReefMaster Pro Windows 7 Pro
        2 => grj2q
        3 => jrok7
        4 => 8qxer - windows7-8qxer - 20180927
        5 => 1q8o7 - arch-vm-1q8o7 - 20180927
        6 => 57ejq - windows7-recover-57ejq - 20180930
        7 => vr2kr - arcolinux-vr2kr - 20181009
        8 => 0qw5q - arcolinuxb-mate-0qw5q - 20181019 - virtual box
        9 => 2r9yq - arch-mate-2r9yq - 20191126 - virtual box
        10 => l7v2r - arch-t500-l7v2r - 20191203 - lenovo t500
        11 => 0rm37 - manjaro-t500-0rm37 - 20191203 - lenovo t500
        12 => 2q1mq - arch-toshiba-2q1mq - 20191204 - Toshiba Satellite
        13 -> p7pzr - arch-toshiba-p7pzr - 20191211 - Toshiba Satellist arch linux systemd-networkd dhcpcd wpa_supplicant
        

hashids.org/ hashids library

1 - 04mv4.gcsww.local

Provide a json server to serve jruby/jdbc based application at GCS. Published as DNS name jrapp.gcsww.local

http://codepen.io/ivanakimov/pen/bNmExm
        var hashids = new Hashids("cloud hidden", 5, "abcdefghijklmnopqrstuvwxyz1234567890");
        
        var id = hashids.encode(1);
        var numbers = hashids.decode(id);
        
        1 => 04mv4
        

2 - o4g31.coot.local

Ubuntu server 14.04. First attempt with dokku-alt / docker. Set up a rails-api application with a PostgreSQL database and proxied with puma.

hashids script at codepen

3 - y4ldr.gcsww.local

Test bed for Ubuntu / dokku-alt / docker / jruby rails

9 => 2r9yq - arch-mate-2r9yq

Tue Nov 26 11:59:15 MST 2019

VirtualBox arch install test.