Bind

From YobiWiki
Revision as of 23:51, 3 June 2014 by <bdi>PhilippeTeuwen</bdi> (talk | contribs) (Created page with "==Intro== Some notes how to setup a dynamic DNS... <br>Setup is based on Askarel's [https://github.com/askarel/dynaname dynaname] ==Requirements== ===Server=== apt-get instal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Intro

Some notes how to setup a dynamic DNS...
Setup is based on Askarel's dynaname

Requirements

Server

apt-get install bind9

This will be the nameserver ns0.foo.org for our dynamic subdomain dyn.bar.org so this has to be announced in the primary DNS of your bar.org domain:

dyn    NS    ns0.foo.org.

To test it:

dig @your.primary.dns.for.bar.org dyn.bar.org
;; AUTHORITY SECTION:
dyn.bar.org.        10800    IN    NS    ns0.foo.org.

Client

apt-get install dnsutils bind9utils
git clone https://github.com/askarel/dynaname.git

Setup

cd dynaname