DNS and Systemd Have you ever faced an issue that you get a good speed in https://speedtest.net or https://fast.com but still while opening any new page it takes a while?
If the answer to that question is yes, then this post is worth reading and implementing.
Background DNS has always been quite complicated for me, and somehow I always complain about ISP or the website that it’s not working.
I am not sure if everyone will be having slow router/modem which doesn’t do DNS resolution properly, but that was in my case....
Background Recently due to a bug in our configuration (and lack of monitoring) the number of uWSGI log files were increasing every few minutes. We realized that it was mainly because of max log file size. Instead of adding it in 1000000 we just put 10MB assuming it took MB as input as well but it did not take that and by default it went up and took, 1kilo-byte and the log which it had was just “triggering rotation to filename”....
SSH Config I have been across this about two years back and I thought everyone would know how to use it. But turns out, at work I find it very useful and many of my co-workers are not aware of it entirely.
This post will talk a bit about ssh_config and how it can make your life easier, assuming you use SSH very frequently. Also being a *nix user I don’t know if this will be useful for Microsoft Windows users....
This post will mainly include a small introduction about WireGuard1 and most of the part will be about how I use it currently.
What is WireGuard®? WireGuard is an alternative to OpenVPN for me. But from their website it has a lot of other features.
WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache....
Introduction This post is mainly about a project which I carried out to achieve following simple tasks.
Listen for an update. Execute some predefined tasks on update. Secure the listener with only some clients. To carry out these tasks the project has a listener which listens for a webhook called from a CI server once the updated code is tested and can be deployed. After the webhook, it executes the configured scripts or commands with arguments on the server which can be used to download a file (archive) from cloud and deploy to app server....
This story is based on the challenges faced during the setup of infrastructure, its maintenance and monitoring.
We recently added monitoring tool Grafana which helped us to get the KPIs of our applications running all over the infrastructure at one place. It was doing a great job and we added more and more parameters to it.
Whenever we had any issues in servers or if traffic went down significantly we got alerts and we can check what went wrong and can start fixing it within minutes....