Howto setup local DNS domains and adresses in pihole

If you use the AVM FritzBox you’ll now about this dreaded DNS suffix „fritz.box“ which every device will get in your network, if you decide to use the DNS server of the FritzBox. I wanted to have something different which doesn’t collide with domains on the internet, e.g. „stuff.local“. As I already use pihole as adblocker on DNS level I needed a solution to configure it in pihole. The following info is based on the pihole forum.

Create a file called lan.list in /etc/pihole and fill it with content in the following format:

<ip-address> <hostname>.stuff.local <hostname>

Create a second dnsmasq config file which references the file we’ve just created:

echo "addn-hosts=/etc/pihole/lan.list" | sudo tee /etc/dnsmasq.d/02-lan.conf

Restart the dns services in pihole:

sudo pihole restartdns

You should now be able to lookup your stuff.local hostnames on your pi with e.g.

nslookup box.stuff.local
Server:		127.0.0.1
Address:	127.0.0.1#53

Name:	box.stuff.local
Address: 192.168.100.1

Howto fix Deutsche Telekom slow Mac App Store download speeds

macOS Mojave was released to the public on Monday. As I’m still suffering under terrible problems with macOS High Sierra Updates, I’ve decided to give my Mac a chance and to download Mojave.

macOS Mojave installer start screen

I’ve started the download from the Mac App Store and the download speed was really slow. I’m using a 50MBit VDSL connection provided by the Deutsche Telekom. All other Downloads are fast and saturate the connection at about 5,5MB/s.

Really slow downloads from the App Store. This one should download for 5 and a half hour

The Download from the Mac App Store is terribly slow at around 200kB/s. After searching for problems with Deutsche Telekom and slow App Store speeds, I’ve stumbled over this page.

The solution to my slow download rates seem to be the used DNS server. Even if you use the DNS from Quad9 or the one from Google, you will have slow downloads.

A fast download from the App Store with 5,5MB/s. It finishes in 22 minutes

The recommended IPv4 DNS server are quite fast. I’ve setup a new Network Profile with these DNS server and I have now the full download speed again.

You can switch your network profile afterwards to your local DNS server.