Dieses Wiki ist ein Archiv bis 2023. Das aktuelle Wiki findet sich unter https://wiki.hamburg.ccc.de/

Difference between revisions of "ChaosVPN:DNS"

From CCCHHWiki
Jump to: navigation, search
(secondarys)
(bind9: named-example-confs)
Line 17: Line 17:
 
= HowTo=
 
= HowTo=
 
== bind9 ==
 
== bind9 ==
 +
 +
Should-Do´s:
 +
 +
in /etc/bind/named.conf:
 +
 +
=== Bind as secondary ===
 +
 +
  zone "hack" in{
 +
    type slave;
 +
    file "slave/slave.hack";
 +
    masters {172.31.0.5;};
 +
  };
 +
 +
=== Bind as Forwarder ===
 +
 +
  zone "hack" in{
 +
    type forward;
 +
    forwarders {172.31.0.5; 172.31.116.1;}; };
 +
  };
 +
 
== maradns ==
 
== maradns ==

Revision as of 23:53, 16 June 2010

We have a DNS running.

configs

The main zonefile atm is edited with vim on cvpn-dns.

This server is availible at 172.31.0.5 or 212.12.52.216.

You can either be secondary and transfer the zonefile or query this server.

If you are a secondary you need to add your server here so it can be included in the zonefile.

secondarys

  • ns.sliepen.hack (172.31.116.1)

HowTo

bind9

Should-Do´s:

in /etc/bind/named.conf:

Bind as secondary

 zone "hack" in{
   type slave;
   file "slave/slave.hack";
   masters {172.31.0.5;};
 };

Bind as Forwarder

 zone "hack" in{
   type forward;
   forwarders {172.31.0.5; 172.31.116.1;}; };
 };

maradns