summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2007-01-05 01:03:23 +0000
committerrandomdan <randomdan@localhost>2007-01-05 01:03:23 +0000
commit03b6769d70bf3d60204e138550466818b51534e2 (patch)
treed655ce7dd73c9268a1509d3dddc8b2d00b67ff72
parentBasic settings (diff)
downloadconfig-03b6769d70bf3d60204e138550466818b51534e2.tar.bz2
config-03b6769d70bf3d60204e138550466818b51534e2.tar.xz
config-03b6769d70bf3d60204e138550466818b51534e2.zip
DHCP config added
-rw-r--r--etc/dns/dhcpd.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/dns/dhcpd.conf b/etc/dns/dhcpd.conf
new file mode 100644
index 0000000..ac9f31e
--- /dev/null
+++ b/etc/dns/dhcpd.conf
@@ -0,0 +1,30 @@
+option domain-name "random.lan";
+option domain-name-servers dns1.random.lan, dns2.random.lan;
+option routers gateway.random.lan;
+default-lease-time 7200;
+max-lease-time 7200;
+ddns-update-style interim;
+
+subnet 192.168.0.0 netmask 255.255.255.0 {
+ range 192.168.0.100 192.168.0.250;
+}
+
+host defiant {
+ hardware ethernet 00:30:84:9E:B1:73;
+ fixed-address 192.168.0.2;
+}
+
+key updatekey {
+ algorithm hmac-md5;
+ secret "df61eb0aa23833c56751a6c8f579f695";
+};
+
+zone 0.168.192.in-addr.arpa. {
+ primary dns1.random.lan;
+ key updatekey;
+}
+zone random.lan. {
+ primary dns1.random.lan;
+ key updatekey;
+}
+