<?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 nagg.eu</title><link>https://nagg.eu/tags/dns/</link><description>Recent content in DNS on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 17 Aug 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/dns/index.xml" rel="self" type="application/rss+xml"/><item><title>Monitoring DNS BIND with Zabbix</title><link>https://nagg.eu/monitoring-dns-bind-with-zabbix/</link><pubDate>Wed, 17 Aug 2022 00:00:00 +0000</pubDate><guid>https://nagg.eu/monitoring-dns-bind-with-zabbix/</guid><description>&lt;p&gt;Shockingly enough out of the box Zabbix (version 6) does not include any template
to monitor a very crucial compontent every organization: DNS.&lt;br&gt;
Like most open source aficionado my DNS of choice is &lt;code&gt;BIND named&lt;/code&gt;.&lt;br&gt;
Luckily Zabbix has a pretty huge community and plenty of templates for it are
freely available, a quick search on the interwebz lead me to this
&lt;a href="https://share.zabbix.com/templates/applications-dns-template-bind-stat/#body"&gt;page&lt;/a&gt;.&lt;br&gt;
Kudos to whoever wrote this template, I just took it and tweaked it a little bit.&lt;/p&gt;</description></item><item><title>CentOS, DNSCrypt and pdnsd</title><link>https://nagg.eu/centos-dnscrypt-and-pdnsd/</link><pubDate>Sun, 01 Nov 2015 22:40:27 +0000</pubDate><guid>https://nagg.eu/centos-dnscrypt-and-pdnsd/</guid><description>&lt;p&gt;DNSCrypt installation process is pretty simple since it is present in the repository, pdnsd on the other hand is missing, luckily compiling from source is not that hard.&lt;br&gt;
For the sake of completeness I will also cover the procedure to install DNSCrypt from source, alternatively &lt;code&gt;yum install dnscrypt-proxy&lt;/code&gt;.&lt;br&gt;
Install the required dependencies and get the source code:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@CentOS ~]# yum install gcc libsodium-devel libtool-ltdl-dev git wget
[root@CentOS ~]# git clone https://github.com/jedisct1/dnscrypt-proxy.git
[root@CentOS ~]# wget http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="pdnsd"&gt;pdnsd&lt;/h2&gt;
&lt;p&gt;Compile and install:&lt;/p&gt;</description></item><item><title>CentOS as router, transparent proxy, and much more</title><link>https://nagg.eu/centos-as-router-transparent-proxy-and-much-more/</link><pubDate>Mon, 16 Sep 2013 18:59:19 +0000</pubDate><guid>https://nagg.eu/centos-as-router-transparent-proxy-and-much-more/</guid><description>&lt;p&gt;As usual, long story short: I&amp;rsquo;ve to setup a firewall to log traffic, block some stuff and do some other things.&lt;br&gt;
– epel repo is required –&lt;br&gt;
The system is made of a single CentOS machine with 2 physical network adapters:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;eth0, connected to WAN, static IP address 192.168.0.3&lt;/li&gt;
&lt;li&gt;eth1, connected to LAN, static IP address 10.0.0.1/24&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="-network-adapters-configuration"&gt;.:. Network adapters configuration&lt;/h2&gt;
&lt;p&gt;WAN network adapter:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@CentOS ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=&amp;#34;eth0&amp;#34;
BOOTPROTO=&amp;#34;none&amp;#34;
HWADDR=&amp;#34;**:**:**:**:**:**&amp;#34;
IPADDR=192.168.0.3
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS=192.168.0.1
IPV6INIT=&amp;#34;yes&amp;#34;
IPV6_AUTOCONF=&amp;#34;yes&amp;#34;
NM_CONTROLLED=&amp;#34;yes&amp;#34;
ONBOOT=&amp;#34;yes&amp;#34;
TYPE=&amp;#34;Ethernet&amp;#34;
UUID=&amp;#34;***&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;LAN network adapter:&lt;/p&gt;</description></item></channel></rss>