<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IPv6 &#8211; Roumazeilles.net</title>
	<atom:link href="https://www.roumazeilles.net/news/en/wordpress/tag/ipv6/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.roumazeilles.net/news/en/wordpress</link>
	<description>Technology opinions and others</description>
	<lastBuildDate>Sun, 22 Nov 2020 18:40:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Raspberry Pi as a local DNS/DHCP server</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2020/11/23/raspberry-pi-as-a-local-dns-dhcp-server/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2020/11/23/raspberry-pi-as-a-local-dns-dhcp-server/#respond</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Mon, 23 Nov 2020 19:21:56 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Routers & networks]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[IPv4]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/?p=15038</guid>

					<description><![CDATA[For a local network supporting a small company or an Internet-active family, it is always possible to rely totally on an Internet Service Provider (ISP) which will provide basic network services straight from the Internet box/router (fibre or ADSL). But, if &#8211; like me &#8211; you want to have more flexibility, you&#8217;d prefer to setup [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>For a local network supporting a small company or an Internet-active family, it is always possible to rely totally on an Internet Service Provider (ISP) which will provide basic network services straight from the Internet box/router (fibre or ADSL). But, if &#8211; like me &#8211; you want to have more flexibility, you&#8217;d prefer to setup your own services.</p>



<p>I noticed the market emergence of nano-computers like Android boxes or Raspberry Pi which allow to easily setup services that may have been prohibitely expensive in the past.</p>



<p>So, I decided to pruchase a Raspberry Pi 3 B+ (a rather cheap network little box, with low power consumption, able to stay online permanently, and easily configurable). I wanted to start by deploying the minimal network services to give me maximum agency.</p>



<p>Minimum feature set included:</p>



<ul class="wp-block-list"><li>A <strong>DHCP </strong>server (to assign IP addresses on the local network with ability to fix some of them in a static list, for easier management)</li><li>A <strong>DNS </strong>server providing<ul><li>DNS request cache (to speed up the overall Internet access of my Internet users)</li><li>Delivery of local network names</li><li>Capacity to allow future DNS filtering (I don&#8217;t care much about adult-content filtering, but I&#8217;d like to stop some of the phishers, even if these two activities are technically identical)</li></ul></li></ul>



<p>In the future, some more services may come handy (nothing of this has been studied here):</p>



<ul class="wp-block-list"><li>An NTP server (for time)</li><li>A WINS Windows names server</li></ul>



<h2 class="wp-block-heading">Comparison</h2>



<p>As a matter of fact, I noticed that two serveurs seemed able to simultanesouly provide DHCP and DNS: <a href="https://nlnetlabs.nl/projects/unbound/about/">Unbound</a> and <a href="https://wiki.debian.org/dnsmasq">dsnmasq</a>.</p>



<p>Unbound highlights:</p>



<ul class="wp-block-list"><li>Lightweight server</li><li>DNSSEC support</li><li>rather security-oriented</li><li>No DNS authoritative server (but able to handle a local domain)</li></ul>



<p>dnsmasq highlights:</p>



<ul class="wp-block-list"><li> Lightweight server</li><li>DNSSEC support</li><li>DHCP and DNS are integrated in the same server</li><li>May use /etc/hosts to feed DNS</li><li>No DNS recursive server (only forward to an authoritative/recursive like 8.8.8.8 or 9.9.9.9 or your ISP DNS server)</li><li>No DNS authoritative server (but able to handle a local domain) </li></ul>



<p>I chose dnsmasq, mainly because of the DNS + DHCP integration.</p>



<h2 class="wp-block-heading">Some surprising discoveries</h2>



<p>Première information vite découverte : les serveurs NAS Synology sont tout à fait incompatibles avec le filtrage de DNS de CleanBrowsing. Celui-ci compte synology.me (service nécessaire pour le DDNS de Synology) dans les domaines à risque. De nombreux services du NAS cessent immédiatement de fonctionner.</p>



<p>Je n&#8217;ai pas vérifié mais il est probable que de nombreux autres services DDNS (Dynamic DNS) soient black-listés pour les mêmes raisons : devant le nombre de petits serveurs Synology (ou autres) mal configurés, ces DDNS renvoient sans doute vers une forte proportion de domaines qui ont été pris en otage par les hackers.</p>



<p>Il faut donc pouvoir gérer cela plus finement si vous avez vous-même votre propre NAS Synology (et sans doute d&#8217;autres marques).</p>



<h2 class="wp-block-heading">Observations</h2>



<p>After a few months of  dnsmasq use on Rapsberry Pi, it is time to comment and share my experience.</p>



<p>First, this worked really well. Even if I had one case of locked down DHCP server (no warning, no error, but killed). I tried finding why, but it was far easier to reboot the server box (On-Off switch) to restore the service. Of course, a few minutes of digging into logs did bring me some worried looks from another network user&#8230;</p>



<p>The DNS filter setup to remove access to some risky domains work perfectly well. But, I have to admit that nothing seems to have triggered that (except my tests). Since this is not the only security barrier on my network, this may be OK. For the record, here is the filter creation script I use:</p>



<pre class="wp-block-preformatted">#!/bin/sh
#Dated 2020-11-10 1.0 Addition of --quiet to wget (to reduce clutter to /var/mail/pi)
#                     *** STABLE RELEASE ***

cd /var/lib/work

#Get anti-phishing filter lists from Internet
wget -q -O ./isc-low.txt 'https://isc.sans.edu/feeds/suspiciousdomains_Low.txt'
wget -q -O ./isc-med.txt 'https://isc.sans.edu/feeds/suspiciousdomains_Medium.txt'
wget -q -O ./isc-hig.txt 'https://isc.sans.edu/feeds/suspiciousdomains_High.txt'
wget -q -O ./yoyo.dnsmasq.txt 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&amp;hostformat=nohtml&amp;showintro=0&amp;mimetype=plaintext'
#Remodel the lists into DNSmasq filters
catcherIP='192.168.1.250'
inputfile="./isc-med.txt"
tmpfile="/tmp/.adlist.$$"
tmpconffile="/tmp/.dnsmasq.conf.$$"
configfile="/etc/dnsmasq.filter.conf"
configheader="/etc/dnsmasq.filter.header"

#Start with putting our own header
    [ -f "$configheader" ] &amp;&amp; cat $configheader &gt;&gt; $tmpconffile
#check if TmpFile could be init'd with header
if [ ! -s $tmpconffile ]
then
    echo "temp fil '$tmpconffile' could not be found or is empty; quitting"
    exit
fi
#Remove list headers
cat $inputfile | grep -v "^#" | grep -v "^Site$" &gt; $tmpfile
#Buid list to DNSmasq format, and add it to the file
sed "s/(.*)/address=\/\1\/${catcherIP}/" $tmpfile &gt;&gt; $tmpconffile
#Move the final list to destination
sudo cp $tmpconffile $configfile</pre>



<p>One of the advantages of this server is its speed. I may have been slightly worried (or attentive) before knowing the Raspberry Pi, but there was no reason. Maybe because of the low workload (despite an HTTP server, some distant connexions, and a few local scripts) and because of the good power developed by the CPU, everything is fine and dandy even when a dozen clients are pounding the DNS server (the iPhones are quite insistant in using the netowrk on a continuous basis)).</p>



<p>dnsmasq is perfectly able t manageIPv6 DHCP, and correspondingIPv6 DNS. Documentation about this is terse (if not simply lacking), but it works well and I learned quite a few things. The Raspberry Pi was so reliable that it was IPv6 proxy during some of my tests without any perceptible impact. (I was rightfully impressed).</p>



<p>After initially using dynamic address allocation, I moved the DHCP server into a nearly exclusively static configuration (my own choice in order to have easier local client identification). No big deal, neither in IPv4 nor in IPv6.</p>



<p>Conclusion: Totally positive.</p>



<p>In the future, I may be tempted to deploy more powerful servers for DHCP and DNS for a wider support (maybe or maybe not) and to try a network spy like SNORT or SURICATA. But this is a completely different story. And, in this case, I may be tempted to go to a really powerful solution (I have an Avenger96 under initial trial, but its software support seems to be a real mess).</p>



<h2 class="wp-block-heading">A few other interesting links</h2>



<ul class="wp-block-list"><li>A few other solutions for a DHCP server:<ul><li><a href="https://www.isc.org/dhcp-tools/"></a><a href="https://www.linux.com/tutorials/dnsmasq-easy-lan-name-services/">DNSmasq installation</a> (DHCP only)</li><li>Dragon: <a href="https://blogging.dragon.org.uk/howto-setup-dnsmasq-as-dns-dhcp/">DNSmasq installation</a> (DHCP + DNS)</li><li>Instructables: <a href="https://www.instructables.com/id/Running-your-own-DNSDHCP-Server-the-Easy-way/">installation for DNSmasq</a> (DHCP &amp; DNS)  </li><li><a href="https://wiki.debian.org/DHCP_Server">ISC-DHCP server on Debian</a></li><li><a href="https://www.tecmint.com/install-dhcp-server-in-ubuntu-debian/">ISC-DHCP server on Ubuntu</a></li><li><a href="https://wiki.debian.org/DHCP_Server">Tools designed to work with ISC-DHCP</a></li><li><a href="https://wiki.debian.org/DHCP_Server">Fast instructions for installing DHCP, DNS, </a><a href="http://www.raspberry-pi-geek.com/Archive/2014/03/Setting-up-Raspberry-Pi-as-a-DHCP-NTP-and-DNS-server">and NTP on Raspberry Pi</a></li></ul></li><li>Some data about installation of another DNS server:<ul><li><a href="https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-debian-9">BIND local-mode DNS server on Debian 9</a></li><li><a href="https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04">BIND authoritative DNS server on Ubuntu</a></li><li><a href="https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-caching-or-forwarding-dns-server-on-ubuntu-14-04">BIND &#8220;caching&#8221; or &#8220;forward-only&#8221; DNS server on Ubuntu</a></li></ul></li><li>DNS filters:<ul><li><a href="https://www.gmass.co/blog/domain-blacklists-comprehensive-guide/">THE guide on cleaning DNS from public domain lists</a></li></ul></li><li>Setup of a LaSynology NAS or router:<ul><li><a href="https://www.synology.com/fr-fr/knowledgebase/DSM/tutorial/Network/How_to_set_up_your_domain_with_Synology_DNS_Server">Configuration of a DNS server on DSM</a></li></ul></li><li>Server comparisons:<ul><li><a href="https://computingforgeeks.com/bind-vs-dnsmasq-vs-powerdns-vs-unbound/">BIND vs. dnsmasq vs PowerDNS vs Unbound</a><br><br> <br><br> </li></ul></li></ul>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2020/11/23/raspberry-pi-as-a-local-dns-dhcp-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Cygnus for Windows 7</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2010/01/23/cygnus-for-windows-7/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2010/01/23/cygnus-for-windows-7/#respond</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Sat, 23 Jan 2010 19:00:57 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Cygnus]]></category>
		<category><![CDATA[GNU]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/?p=3943</guid>

					<description><![CDATA[The Cygnus name will certainly remind you of something ig you are interested into GNU/Linux, but maybe not more. Actually, this is a software package which has been designed to provide a lot of the &#8220;basic&#8221; Linux commands to be used from inside a Command-Line box of Windows. Version 1.7 of Cygnus is now available [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The Cygnus name will certainly remind you of something ig you are interested into GNU/Linux, but maybe not more. Actually, this is a software package which has been designed to provide a lot of the &#8220;basic&#8221; Linux commands to be used from inside a Command-Line box of Windows.</p>
<p>Version 1.7 of <a href="http://cygwin.com/">Cygnus</a> is now available that supports Windows 7 (but drops support for Windows 95, 98 &#038; Me).</p>
<p>As if this was not enough, this version also has the capability to configure IPv6 (if you are already attracted by this solution) or supports multiple installations.</p>
<p><a href="http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html">Cygnus v1.7-1.1 new release</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2010/01/23/cygnus-for-windows-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Opera and IPv6</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2009/11/19/opera-and-ipv6/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2009/11/19/opera-and-ipv6/#comments</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Thu, 19 Nov 2009 16:36:14 +0000</pubDate>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/?p=3790</guid>

					<description><![CDATA[It&#8217;s worth noticing it if you are using Opera. I had a difficult-to-solve issue recently. While playing with the idea of starting to use IPv6 on my main PC, I tested the waters by validating this option in the network configuration of my Windows XP. Unfortunately, Opera is already fully ready for IPv6 but my [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.roumazeilles.net/news/en/wordpress/wp-content/uploads/2009/11/ipv6.gif"><img fetchpriority="high" decoding="async" src="https://www.roumazeilles.net/news/en/wordpress/wp-content/uploads/2009/11/ipv6.gif" alt="ipv6" title="ipv6" width="239" height="311" class="alignleft size-full wp-image-3791" /></a></p>
<p>It&#8217;s worth noticing it if you are using Opera. I had a difficult-to-solve issue recently.</p>
<p>While playing with the idea of starting to use IPv6 on my main PC, I tested the waters by validating this option in the network configuration of my Windows XP. Unfortunately, Opera is already fully ready for IPv6 but my router box is not. So, the first effect it had is that Opera decided to enforce the use of IPv6 for all web sites that mentioned IPv6 capacity in their DNS (not many of them, but Google and Free.fr my ISP are already in the list). The immediate effect was that Opera tried to connect to them in IPv6 but failed (because the rest of my home configuration is not 100% IPv6). For 99% of all web sites, there was no difference&#8230;</p>
<p>It took me several days (and some Googling &#8211; using Safari and Chrome) to understand that this is a known issue and to remove the (still) useless IPv6 Windows configuration.</p>
<p>I&#8217;ll have to upgrade my router and try again.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2009/11/19/opera-and-ipv6/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Google and ICANN reach for the non-latin world</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2009/10/29/google-and-icann-reach-for-the-non-latin-world/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2009/10/29/google-and-icann-reach-for-the-non-latin-world/#comments</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Thu, 29 Oct 2009 19:24:57 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[ICANN]]></category>
		<category><![CDATA[IPv6]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/?p=3712</guid>

					<description><![CDATA[The ICANN started to allow non-latin alphabet to be used in the domain names to support half of the word which is actually using a non-latin alphabet (Russians, Chinese, Japanese, Hindi, etc.) Google decided to celebrate with an anti-latin graphic to great their visitors.]]></description>
										<content:encoded><![CDATA[<p>The ICANN started to allow non-latin alphabet to be used in the domain names to support half of the word which is actually using a non-latin alphabet (Russians, Chinese, Japanese, Hindi, etc.)</p>
<p>Google decided to celebrate with an anti-latin graphic to great their visitors.</p>
<p><a href="http://www.google.com/"><img decoding="async" src="https://www.roumazeilles.net/news/en/wordpress/wp-content/uploads/2009/10/google_asterix.png" alt="google_asterix" title="google_asterix" width="600" height="360" class="aligncenter size-full wp-image-3713" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2009/10/29/google-and-icann-reach-for-the-non-latin-world/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Google goes IPv6</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2008/06/13/google-goes-ipv6/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2008/06/13/google-goes-ipv6/#comments</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Fri, 13 Jun 2008 10:12:29 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Routers & networks]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web sightings]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[IPv4]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/2008/06/13/google-goes-ipv6/</guid>

					<description><![CDATA[As you certainly already know if you follow regularly this web site, the Internet addresses will soon be depleted (all used). The end of the Internet world as we know it should be reached around 2011 or 2012. That is the reason why some companies are working to push out the most common Internet protocol [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As you certainly already know if you follow regularly this web site, the Internet addresses will soon be depleted (all used). The end of the Internet world as we know it should be reached around 2011 or 2012. That is the reason why some companies are working to push out the most common Internet protocol (IPv4) and to make space for its successor (IPv6).</p>
<p>This is why, while the Internet Engineering Task Force (IETF) was preparing a night without IPv4 to reach the largest possible public, Google launched a version of its search engine reserved to IPv6: <a href="http://ipv6.google.com/">ipv6.google.com</a> (If you are like almost everybody, you will not see anything at the end of the link).</p>
<p>Now, we all have to switch as soon as possible.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2008/06/13/google-goes-ipv6/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>IPv6 starts tomorow</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2008/02/03/ipv6-starts-tomorow/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2008/02/03/ipv6-starts-tomorow/#respond</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Sun, 03 Feb 2008 06:00:31 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[IPv4]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/2008/02/03/ipv6-starts-tomorow/</guid>

					<description><![CDATA[For most of us, IPv6 has been a little more than vaporware. But in order to fight the upcoming lack of Internet addresses (as IPv4 addresses are more easily known), there is this new protocol, IPv6. It is steadily progressing and tomorrow, February 4th, several of the major international routers of the Internet backbone will [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>For most of us, IPv6 has been a little more than vaporware. But in order to fight the upcoming lack of Internet addresses (as IPv4 addresses are more easily known), there is this new protocol, IPv6. It is steadily progressing and tomorrow, February 4th, several of the major international routers of the Internet backbone will start routing IPv6 packets.</p>
<p>It means that IPv6 will become a reality in most regions of the world, even if a lot more is to be done to make it overwhelmingly present.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2008/02/03/ipv6-starts-tomorow/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
