DNS

Backup of Cloudflare DNS to AWS DynamoDB

Using AWS Lambda to copy records into DynamoDB via the Libcloud library

James Montgomery

5 minute read

TL; DR After a short break, I decided to take an item off the project list. DNS is a rich source of inspiration for me - and so I elected for a quick win in the form of serverless DNS records backup. The goal of which is to backup my DNS zone contents, via functions as a service (FaaS) and storage as a service (object or database). You can find all the associated code for this on my GitHub page.

Domain migration and enabling DNSSEC

I migrated my domain to iwantmyname.com and enabled DNSSEC on CloudFlare.

James Montgomery

3 minute read

TL; DR The renewal date on my .co.uk domain was nearing. I decided to make a change from 123-reg to iwantmyname. After migration, I captured the process to enable DNSSEC when using Cloudflare for DNS. For those thinking of a similar migration, I have also documented my experience of moving to iwantmyname. .co.uk domain registrar migration to iwantmyname I had used iwantmyname previously and so benefitted from having an account already.

Visualising your DNS cache with PSGraph

Exploring how to create a visual with Powershell

James Montgomery

5 minute read

TL; DR In this post, I’d like to introduce you to how I’ve used PSGraph to create visuals from code. I’ll show you how to represent the Windows DNS cache graphically. Here is an example output (click for a full size image): Below I cover how to arrive at that outcome. You can find all scripts used at my GitHub page. Why DNS The hierarchical nature of DNS (subdomain.topleveldomain.rootdomain) lends itself to graphing.

A punnet of raspberries with a side of visuals

Pi-hole and DNS over DNSCrypt with a PowerShell dashboard.

James Montgomery

5 minute read

TL; DR I finally dusted off that Raspberry Pi in the corner. Initially, I was putting Pi-hole through its paces. One thing led to another as a new rabbit hole emerged in the form of adding encrypted transport to forwarded queries (a subject I visited in the past). I purchased another Pi for resiliency. I then explored how I might visualise the performance of the solution. Lastly, a first for me, I have shared this code on my GitHub page.