<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>DNS on iMil.net</title>
    <link>http://imil.net/blog/tags/dns/</link>
    <description>Recent content in DNS on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 27 May 2023 09:02:31 +0200</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/dns/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>NSD Slave DNS</title>
      <link>http://imil.net/blog/posts/2023/nsd-slave-dns/</link>
      <pubDate>Sat, 27 May 2023 09:02:31 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2023/nsd-slave-dns/</guid>
      <description>&lt;p&gt;Ok this is possibly the easiest thing on earth but I didn&amp;rsquo;t see any clear documentation on the&#xA;topic apart from &lt;a href=&#34;https://nsrc.org/workshops/2014/menog-dns-dnssec/raw-attachment/wiki/Agenda/dns-nsd-config.txt&#34;&gt;a simple text file&lt;/a&gt; which actually helped.&lt;/p&gt;&#xA;&lt;p&gt;The server runs into a &lt;a href=&#34;https://docs.freebsd.org/en/books/handbook/jails/&#34;&gt;FreeBSD jail&lt;/a&gt;, I won&amp;rsquo;t cover this part as there are plenty of &lt;a href=&#34;https://ogris.de/howtos/freebsd-jails.html&#34;&gt;good documentation on this matter already&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The first step is obviously to install &lt;a href=&#34;https://www.nlnetlabs.nl/projects/nsd/about/&#34;&gt;nsd&lt;/a&gt;, for example using &lt;code&gt;pkg&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# pkg install nsd&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;My master DNS server runs &lt;a href=&#34;https://www.isc.org/bind/&#34;&gt;BIND&lt;/a&gt; so there&amp;rsquo;s no specifics regarding &lt;code&gt;nsd&lt;/code&gt;, here&amp;rsquo;s the most&#xA;basic configuration the slave needs:&lt;/p&gt;</description>
    </item>
    <item>
      <title>30 python lines Dynamic DNS</title>
      <link>http://imil.net/blog/posts/2017/20-lines-dynamic-dns-system/</link>
      <pubDate>Mon, 20 Feb 2017 09:00:11 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2017/20-lines-dynamic-dns-system/</guid>
      <description>&lt;p&gt;Here in Spain, I chose Movistar as my Internet provider, I must say I&amp;rsquo;m pretty happy with it, symmetric 300Mbps fiber optics and good service. The only annoying aspect is that they do not provide static IP for free, something I was used to and was very convenient.&lt;/p&gt;&#xA;&lt;p&gt;In order to reach my network from places where I can&amp;rsquo;t connect to my VPN, I wrote a very simple &lt;em&gt;Dynamic DNS&lt;/em&gt; system using &lt;a href=&#34;https://github.com/rthalley/dnspython&#34;&gt;dnspython&lt;/a&gt;, and it turned out to be fairly easy.&lt;/p&gt;</description>
    </item>
    <item>
      <title>cache-cache</title>
      <link>http://imil.net/blog/posts/2005/cache-cache/</link>
      <pubDate>Thu, 13 Oct 2005 10:06:35 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2005/cache-cache/</guid>
      <description>&lt;p&gt;Suite de mes aventures dans le monde merveilleux de la haute dispo grace à OpenLDAP.&#xA;Conseil du jour: &lt;a href=&#34;http://www.venaas.no/ldap/bind-sdb/&#34;&gt;bind sdb ldap&lt;/a&gt;, c&amp;rsquo;est une tuerie (/usr/ports/dns/bind9-sdb-ldap).&#xA;Hint dépatouillé par monseigneur spoty: ne pas oublier de créer un etc/hosts dans le chroot de bind, le cas écheant il stalle comme une grosse merde avant de contacter le serveur LDAP.&#xA;Un peu de conf :&lt;/p&gt;&#xA;&lt;p&gt;voici une zone classique servie par un fichier plat:&#xA;&lt;code&gt;zone &amp;quot;imil.net&amp;quot; { type master; file &amp;quot;zone/imil.net&amp;quot;; };&lt;/code&gt;&#xA;voici un zone servie par LDAP&#xA;&lt;code&gt;zone &amp;quot;imil.net&amp;quot; { type master; database &amp;quot;ldap ldap://127.0.0.1/ou=bind,dc=imil,dc=net 172800&amp;quot;; };&lt;/code&gt;&#xA;la déjà, tu kiffes, mais regarde ca :&#xA;`&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
