Posts in General
The curious case of DNS and wi-fi router
- 11 November 2021
- Category: General
Like any one with an internet connection, I have a wi-fi router at home. And if you have seen my older posts you would know that I use a DNS based ad blocker that I run on my home network. The ad blocker runs on a raspberry pi and I use its IP as the DNS server/cache in my router. I wanted to run a DNS performance test and I used the script dnsperf to do that. It basically runs a DNS query on the list of provided name servers and measures the time taken. Below are the result when running the test with my router(with IP :192.168.1.1) as the DHCP and pi(host name: pi) as the DNS server.
India AQI(Air Quality Index)
- 15 March 2021
- Category: General
Dhuan is smoke in Hindi language. I started collecting the AQI data form Indian Government data site which provides the air quality data from variuos collection points from cities in India. The data is supposed to be hourly but I see that the updated data is only available once in every 3 hours. The data is collected via a python script that runs every 3 hours and stores the data into a pgsql database. I then use Grafana to filter the data based on the user input of state/city/collection point.