This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copyright (C) 2020 Michel Stam <[email protected]> | |
# Copyright (C) 2021 Hung-I Wang <[email protected]> | |
# | |
# The script is adatped from: | |
# https://github.com/ndilieto/uacme/blob/5edec0eea1bcf6f454ec1787297c2408c2f2e97a/nsupdate.sh | |
# | |
# Licensed under the the GNU General Public License <http://www.gnu.org/licenses/>. | |
# The script is meant to be used as a hook script of uacme to update TXT records for acme challenges. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
router id [our IPv4]; | |
protocol bgp vultr | |
{ | |
local as [our ASN]; | |
source address [our IPv4 from vultr]; | |
import all; | |
export filter { | |
if net ~ [[the IPv4 block we want to announce]] then accept; | |
reject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
".123" : "application/vnd.lotus-1-2-3", | |
".3dml" : "text/vnd.in3d.3dml", | |
".3g2" : "video/3gpp2", | |
".3gp" : "video/3gpp", | |
".a" : "application/octet-stream", | |
".aab" : "application/x-authorware-bin", | |
".aac" : "audio/x-aac", | |
".aam" : "application/x-authorware-map", | |
".aas" : "application/x-authorware-seg", |