Skip to content

Instantly share code, notes, and snippets.

View xtonousou's full-sized avatar
♾️
Deploying

Sotirios Roussis xtonousou

♾️
Deploying
View GitHub Profile
@xtonousou
xtonousou / lua.md
Created September 21, 2023 11:21 — forked from ahupowerdns/lua.md
The LUA record type for Lua-powered DNS records

LUA Record Type for Lua-powered DNS records for standards based fail-over and geographical load balancing

GitHub branch -> https://github.com/ahupowerdns/pdns/tree/luarec

Recently, many zone owners could not migrate away from Dyn since they were benefiting from non-standardised DNS-based failover and geographical loadbalancing features. What you see below is an attempt to get standards based but flexible equivalents of these currently proprietary features. Here is a zone:

$TTL 60
lua.br. IN      SOA     a.lua.br. nstld.verisign-grs.com. (
        2016032300      ; Serial
        14400           ; Refresh
@xtonousou
xtonousou / gist:1d1311bbe2367343dab6b0035b8ad72e
Created April 12, 2020 02:55
Add Centos 7, 8 Machine into AD Domain. Integrate SSH authentication with Active Directory, manage sudoers via Active Directory, automatic group id mapping and sanitization. Automatic PTR record and DNS computer name. NETBIOS 15 characters max!
#! /usr/bin/env bash
#
# Author: Sotirios Roussis - xtonousou@gmail.com
# Description: Configure Linux machine, add it to domain, configure SSH authentication via Active Directory
# Enter: sudo -i for root without auth if you add the domain user to domain group "sudoers" in AD/SOME_DIRECTORY or in any other child group of "sudoers"
# Version: 1.1.7
#
# Currently tested on CentOS 7, 8
#
# NOTES:
@xtonousou
xtonousou / keybase.md
Created July 22, 2017 16:43
Keybase verification

Keybase proof

I hereby claim:

  • I am xtonousou on github.
  • I am xtonousou (https://keybase.io/xtonousou) on keybase.
  • I have a public key ASCRuD5sqq5ouUhWGpGLdfGAWxlrg5oJ32bnjGER96ZWKAo

To claim this, I am signing this object: