Palash Sole

How to perform DNS lookups in Python, including /etc/hosts?

In this article, we’ll perform DNS Lookups in Python using the ‘socket’ module and ‘socket.getaddrinfo()’ function for generating the domain information and converting it into an IP address while using the /etc/hosts files for storing the generated IPv4 and IPv6 addresses of the domain. Prerequisites What is DNS lookup? Before learning what is DNS Lookup, […]

How to perform DNS lookups in Python, including /etc/hosts? Read More »

Installing Python in Alpine Linux

In this article, we’ll take a look at how to install Python in Alpine Linux with and without docker support. Prerequisites What is Alpine Linux? Alpine is an independent general-purpose Linux distribution that is primarily designed for users who demand security, simplicity, and resource efficiency. Unlike other distributions, Alpine uses less storage space which can

Installing Python in Alpine Linux Read More »