HOME PHP Machine Learning Python CentOS Web Development DNS IPv6 IPv4 Networking Classification metaWeblog API file attachment Regression timeout scikit-learn mysqld K-Nearest Neighbors Linear Regression Socket Programming CloudFlare DNS Programming Ensemble Learning netsh Internet Protocols KNN Domain Name Service KNN Algorithm DNS Server Google DNS REMOTE_ADDR db autorepair ifconfig Apache IPv4 DNS bash IPv6 DNS IPv4 Domain Name Service gethostname IPv6 Domain Name Service Adult Free DNS Kernel Space KNN Classifier KT DNS Ad Free Domain Name Service Data Transfer disable_ipv4.bat disable_ipv6.bat DNS Records DNS64 Dynamic DNS Educational Enable IPv4 Enable IPv6 hwclock crontab cron chkconfig Forecasting getaddrinfo Disable IPv6 Hardware time

DNS.ZIP

Building a Basic DNS Server in PHP/Python: A Beginner's Guide   (created at Mar 15, 2024)   145  

Creating a full-fledged DNS server in PHP is not recommended for production environments due to performance and security concerns. DNS servers require low-level networking capabilities and efficient handling of DNS protocol messages, which PHP is not optim...

Dynamic DNS Made Easy: Building a Python-Based Solution   (created at Mar 15, 2024)   115  

Creating a dynamic DNS (Domain Name System) service in Python involves several components: a server that listens for DNS queries, a database to store mappings between domain names and IP addresses, and functionality to update these mappings dynamically. Be...

Public DNS (Domain Name Service) based on IPv4, IPv6 widely used   (created at Feb 23, 2024)   235  

In most cases, the Dynamic Host Configuration Protocol (DHCP) automatically configures your system to use the IP addresses of your ISP's domain name servers.To use Public DNS, you need to explicitly change the DNS settings in your operating system or devic...
Public DNS (Domain Name Service) based on IPv4, IPv6 widely used

All Engineering Software Development How can you prioritize software design trade-offs when developing a new product?   (created at Feb 21, 2024)   370  

Software design criteria are specific guidelines and principles that help shape the development of a software system. These criteria ensure that the software meets certain requirements, performs effectively, and is maintainable. Here are some common softwa...

Configuring IP Address on Centos 6.7   (created at Nov 08, 2015)   127  

On Centos 6.7, you can check IP address configuration by ifconfig command as below:# ifconfig The below is the example of files on "/etc/sysconfig/network-scripts"# cd /etc/sysconfig/network-scripts# cd ls -Faltotal 220drwxr-xr-x. 2 root root 4096 Oct...

How do I determine the client IP type (IPv4/IPv6) in PHP   (updated at Apr 16, 2024)   122  

In the PHP, there are filters which can determine IPv4 and IPv6: FILTER_VALIDATE_IP, FILTER_FLAG_IPV4, FILTER_FLAG_IPV6.Below code shows how to determine the client protocol:This code snippet checks whether the client's IP address is IPv4 or IPv6 using fil...

How do I determine the client IP type in Python - IPv4 or IPv6   (created at Apr 13, 2024)   146  

We can determine IPv6 and IPv4 based on its separator character. IPv4 uses period(.) and IPv6 uses colon(:).Below code shows how to determine the client protocol In this Python code:We import the socket module.We use socket.getaddrinfo() to get the IP...

Mastering Model Persistence: Saving and Loading Trained Machine Learning Models in Python   (created at Apr 08, 2024)   221  

In the realm of machine learning, training a model is just the beginning. Once we've invested time and resources into training a model, it's essential to save it for future use. In this blog post, we'll explore how to save and load trained machine learning...

Harnessing the Power of Random Forest Algorithm in Python   (created at Apr 08, 2024)   99  

In the vast landscape of machine learning algorithms, there exists a powerful ensemble method known as Random Forest. It's highly regarded for its robustness and versatility, making it a popular choice for both classification and regression tasks. In this ...

Understanding and Implementing K-Nearest Neighbors (KNN) Algorithm in Python   (created at Apr 08, 2024)   81  

In the realm of machine learning, there exists a multitude of algorithms, each with its unique strengths and weaknesses. One such algorithm, widely used for classification and regression tasks, is the K-Nearest Neighbors (KNN) algorithm. In this blog post,...

Forecasting with Linear Regression and KNN Regression in Python   (created at Apr 07, 2024)   86  

In the realm of machine learning, making accurate predictions based on historical data is a common and crucial task. Two popular methods for tackling such problems are Linear Regression and K-Nearest Neighbors (KNN) Regression. Both come with their unique ...

Python Implementation of Linear Regression   (created at Apr 01, 2024)   117  

Below code is based on Python 3 to implement Linear Regression based on where:Y is the dependent variableX is the independent variableβ0 is the interceptβ1 is the slope Our primary objective while using linear regression is to locate the best-fit...
Python Implementation of Linear Regression

Implementing a Versatile DNS Server in Python: Handling A, AAAA, CNAME, and TXT Records   (created at Mar 16, 2024)   79  

Supporting AAAA records, which are used for IPv6 addresses, is a straightforward extension of the previous examples. The AAAA record type is essential for modern applications that operate over IPv6 networks. Here's how you can modify the existing Python DN...

Exploring the Depths of Data Transfer: sendfile vs. kTLS   (created at Mar 15, 2024)   113  

When optimizing the performance of web servers and ensuring secure data transmission, two technologies often come into play: sendfile and Kernel TLS (kTLS). Both are designed to enhance efficiency in different ways, primarily in the context of sending data...
Exploring the Depths of Data Transfer: sendfile vs. kTLS

Enable/Disable IPv4 on Windows   (created at Feb 24, 2024)   115  

Disabling IPv4 on Windows through a batch script can be a bit more involved compared to disabling IPv6, but it's still achievable using netsh. Here's a script that disables IPv4 on all network interfaces:Save this script with a .bat extension (e.g., disabl...

Enable/Disable IPv6 on Windows   (created at Feb 24, 2024)   166  

Even though IPv6 is one of the key features by the most of network service providers, but its network equipments are not stable accordingly, so we face a lot of connectivity issues from time to time. Sometimes, it is recommended us to turn IPv6 off for sta...

How to mount windows shared folder on Centos 6.8 - mount error 12 = Cannot allocate memory to the mount.cifs(8)   (created at Jan 31, 2018)   192  

In order to mount windows shared folder on CentOS, you need to install some packages like belowAnd the easiest way can mount the folder you want will be like belowIn case that you encounter error message like “mount error(12): Cannot allocate memory to the...

Setup Apache+PHP+MySQL on Centos 6.7   (created at Nov 02, 2015)   146  

If you installed Centos in minial installation mode, you should install Apache + PHP + MySQL manually.The followings are the procedure to install Apache + PHP + MySQL:Making apache and mysql to start automatically

Adding new cron job for automated processing on every 10 minutes on Centos 6.7   (created at Nov 02, 2015)   201  

The software utility Cron is a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or interv...

mcrypt missing when using phpMyAdmin on Centos 6.7   (created at Nov 02, 2015)   173  

“mcrypt” is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it...

Set timezone and time on Centos 6.7   (created at Nov 02, 2015)   145  

When using OAuth 1.0a, it requires timestamp for authentication. The followings are the example of shell commands which can set time information. Setup timezoneTo set the timezone of your system clock do the following:# rm -rf /etc/localtime# ln -s /u...

How to optimize MySQL automatically in CentOS Linux   (created at Mar 06, 2012)   206  

I am using CentOS Linux for service purpose. Main reason to use CentOS is cheaper hosting for private purpose. Actually MySQL requires periodical optimization process in my experiences, and I use /etc/cron.hourly usually for those kind of bath processing.&...