Differences between version 4 and previous revision of DavidsDDNSExample.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Saturday, May 15, 2004 9:33:08 am | by DavidMoore | Revert |
Older page: | version 1 | Last edited on Saturday, May 15, 2004 9:25:49 am | by DavidMoore | Revert |
@@ -11,9 +11,9 @@
I like having this running as I was told it "couldn't be done" :-D.
The "secret key" is generated with dns-keygen.
-
/etc/named.conf
+!!
/etc/named.conf
// Dave's own hacked named.conf
// with dynamic DNS :-D
@@ -88,9 +88,9 @@
include "/etc/rndc.key";
-
/etc/dhcpd.conf
+!!
/etc/dhcpd.conf
# Dave's own hacked dhcpd.conf
# with dynamic DNS :-D
@@ -155,9 +155,9 @@
ddns-updates on;
}
-
/var/named/invermay.zone
+!!
/var/named/invermay.zone
$ORIGIN .
$TTL 604800 ; 1 week
invermay IN SOA rata.invermay. root.rata.invermay. (
@@ -177,9 +177,9 @@
ollienet A 192.168.12.254
rata A 192.168.12.254
tuxnet A 192.168.12.254
-
/var/named/localhost.zone
+!!
/var/named/localhost.zone
$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
@@ -191,9 +191,9 @@
1D IN NS @
1D IN A 127.0.0.1
-
/var/named/named.invermay
+!!
/var/named/named.invermay
$ORIGIN .
$TTL 604800 ; 1 week
12.168.192.in-addr.arpa IN SOA rata.invermay. root.rata.invermay. (
@@ -206,9 +206,9 @@
NS rata.invermay.
$ORIGIN 12.168.192.in-addr.arpa.
254 PTR rata.invermay.
-
/var/named/named/named.invermay.decknet
+!!
/var/named/named/named.invermay.decknet
$ORIGIN .
$TTL 86400 ; 1 day
10.168.192.in-addr.arpa IN SOA rata.invermay. root.rata.invermay. (
@@ -224,9 +224,9 @@
253 PTR feijoa.invermay.
$TTL 86400 ; 1 day
254 PTR rata.invermay.
-
/var/named/named.local
+!!
/var/named/named.local
$TTL 86400
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
@@ -247,7 +247,4 @@
};
Seemed like a good idea, but screwed up dynamic updating for some reason. Kept getting connection refused messages.
And I'd changed a few things so it took me all day to figure out.
-
--------------
-NB: this is taken from www.linuxsoftware.co.nz/wiki/DynamicDNS