some initial re-stabs at some dns configs for the home network

This commit is contained in:
Orien Vandenbergh 2016-03-18 13:19:29 -06:00
parent 85f33323e2
commit ad77c37a86
3 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,42 @@
options {
directory "/var/named";
version "unimportant";
allow-transfer {"none";};
// Allow clients in the 192.168.0.0/24 and 192.168.1.0/24 networks to query the local dns
allow-recursion {192.168.0.0/23;};
};
logging {
channel named_log {
file "/var/log/named/named.log" versions 10 size 2m;
severity info;
print-severity yes;
print-time yes;
print-category yes;
};
category default {
named_log;
};
};
zone "." {
type hint;
file "root.servers";
};
zone home.icebergh.us IN {
type master;
file "forward/home.icebergh.us.db";
allow-transfer {none;};
}
zone "0.168.192.in-addr.arpa" in {
type master;
file "reverse/192.168.0.db";
};
zone "1.168.192.in-addr.arpa" in {
type master;
file "reverse/192.168.1.db";
};

View File

@ -0,0 +1,21 @@
$TTL 2d
$ORIGIN home.icebergh.us.
@ IN SOA ns.home.icebergh.us. orien@icebergh.us. (
2016031801
12h ; refresh interval
15m ; update retry
3w ; expiry
3h ; minimum
)
IN NS ns.home.icebergh.us.
IN MX 10 mail.icebergh.us.
gateway IN A 192.168.0.1
erl IN CNAME gateway.home.icebergh.us.
beast IN A 192.168.0.20
ns IN CNAME beast.home.icebergh.us.
orihime IN A 192.168.0.21

View File

@ -0,0 +1,18 @@
$TTL 2d
$ORIGIN 0.168.192.in-addr.arpa.
@ IN SOA ns.home.icebergh.us. orien@icebergh.us. (
2016031801
12h ; refresh interval
15m ; update retry
3w ; expiry
3h ; minimum
)
IN NS ns.home.icebergh.us.
1 IN PTR gateway.home.icebergh.us.
20 IN PTR beast.home.icebergh.us.
21 IN PTR orihime.home.icebergh.us.