How to setup PTR record in Oracle Cloud Infrastructure (OCI)

Introduction

One of my VPS machines use Cloudron to easily self-host apps. And I always receive a notification from my Cloudron instance saying:

PTR DNS record (PTR) did not match.
    Hostname: <IP>
    Expected: <My Domain Name>
    Actual: null

Debug Resource Deadlock Avoided Error

Introduction

When I was debugging a core dump issue discovered in ADS (Autonomous Driving System) testing, I found a very interesting error message in the log file:

terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
  what():  Resource deadlock avoided

Set up network edge router via V2Ray

Motivation

Hello! Long time no see! I have been heavily using an iOS app called “Quantumult X” (a.k.a. QX) these days, mainly for the following reasons:

  • Easy to setup and lots of tutorials/scripts online that you can add and learn
  • You can add VPN servers, add flexible routing rules e.g., SSID-based switching, and subscribe to public servers (not recommended out of privacy/security concerns)
  • You can do MITM rewrites that enable you to have premium features on other apps for free

Overall I’m very happy with this app but I do find some limitations:

Set up IKEv2 VPN on a Mikrotik Router

Motivation

I got rid of my AT&T router a few days back and managed to have a Mikrotik router hAP ac² as an alternative. One benefit of using a mikrotik router, specifically, its RouterOS, is the customizability to add cool features to my home network. I have very slow traffic when using the AT&T home network when visiting some websites, e.g., weibo, so I want to route them via a VPN running on oracle cloud.

Notes on OCI (Oracle Cloud Infrastructure)

Motivation

Some of my services are too light that I don’t want to run them endlessly on my beefy home server. One reason is that I want better availability and clearly it’s hard (a better word probably is expensive) to achieve that in my current set up. So I decided to go for the Cloud, after all… I was a cloud TA!