TagDNS

How To Check What BIND DNS Version You Are Running

Even though the service name when you run a BIND DNS server is bind9, this will only work with start, stop, restart and similar commands.

If you want to check what version of BIND DNS you are currently running on your Linux server, you need to use this:

/usr/sbin/named -v

Debian Not Resolving Hostnames

This will serve as a quick reminder to myself that Debian behaves a little bit differently than Ubuntu when it comes to DNS resolving (in my defense, I have been working a lot on Ubuntu lately).

So, one of my Debian VMs had stopped resolving hostnames and I kept looking into /etc/network/interfaces to see if the correct DNS server was listed there. And it was. But that’s not the place to put DNS server information in Debian.

Then it hit me: if you are using Debian, put the DNS server you want to use inside /etc/resolv.conf. A quick look at the official Debian Network Configuration docs confirmed this.

How To Make the No-IP DUC Automatically Start At Boot On A Raspberry Pi

If you look at the README file inside the noip folder, you will see that, in order to have the No-IP Dynamic Update Client automatically launch at boot on Linux, you have to copy and paste a script inside the relevant rcX.d folder inside /etc/init.d. However, Raspbian does not have this folder, so the procedure is slightly different if you are using a Raspberry Pi (you can find some information here).

These are the steps to follow:

Continue reading

Apple TV losing Internet connection after using PlexConnect? Here’s how to solve it

The only way to have Plex working on an Apple TV, if you don’t want to jailbreak it, is to install PlexConnect on your Plex server. Essentially, this will redirect the Trailers app on your ATV to your Plex server. It’s a hack, yes, but it works pretty well at the end of the day

I had a few connection issues with it though: after a few days of usage, my Apple TV would lose connection to the Internet. Sometimes, none of the apps would work (I would get a “<app_name> cannot connect to the Internet” error message), other times the apps wouldn’t even show on screen and I could only see the settings app.

Now, to make PlexConnect work, you have to set your PlexConnect machine’s IP address as the DNS server of your Apple TV in order for the redirect to work. So the first thing that I did while troubleshooting was to check if the machine on which PlexConnect was running could indeed connect to the internet, and this was the case, so the issue had to lie somewhere else.

After a little bit of digging around I ended up on the Troubleshooting section of the GitHub project, specifically the Using your ISP’s, Gateway’s or geo-unblocker service DNS server on the ATV section. I completely forgot that PlexConnect used Google’s DNS server, so I tried changing it to my own DNS server, and this seems to have solved the issue. So just try using another DNS server (if you don’t have your own, use your router’s):

  1. cd to the folder where you installed PlexConnect (/opt/PlexConnect in my case)
  2. nano Settings.cfg
  3. Change the value of the ip_dnsmaster directive

Again, PlexConnect is really a hack to work around the Apple TV’s limitation of not having an app store, so some hiccups are to be expected here and there. This is how I solved this one for me, hopefully it will be useful for other people out there.

© 2018 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: