Hi all,
I really don't have a question, However I am in hopes that someone with DNS knowledge would confirm my setup before putting it into operation.
I'd really hate to send spurious traffic from my network.
mydomain.com is registered and hosted offsite, I do not want to mess with that.
My private network is using the same domain name (mydomain.com), using different IP's, No access from the outside in... Nor do I want there to be!
Keeping it simple at this point, I will need to add www later.
Suggestions, Tips welcome.
The files:
named.conf
mydomain/mydomain.fwd
mydomain/mydomain.rev
File : named.conf
File : mydomain.fwd
File : mydomain.rev
Thanks
-Enjoy
fh : )_~
I really don't have a question, However I am in hopes that someone with DNS knowledge would confirm my setup before putting it into operation.
I'd really hate to send spurious traffic from my network.
mydomain.com is registered and hosted offsite, I do not want to mess with that.
My private network is using the same domain name (mydomain.com), using different IP's, No access from the outside in... Nor do I want there to be!
Keeping it simple at this point, I will need to add www later.
Suggestions, Tips welcome.
The files:
named.conf
mydomain/mydomain.fwd
mydomain/mydomain.rev
File : named.conf
Code:
//
// File : named.conf
// Upstream DNS: 10.1.1.1
// Last update : 20090612@1400
//
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
// fh listen-on { 127.0.0.1; };
forwarders {
10.1.1.1;
};
};
zone "." {
type hint;
file "named.root";
};
zone "localhost" {
type master;
file "master/localhost-forward.db";
};
zone "127.in-addr.arpa" {
type master;
file "master/localhost-reverse.db";
};
zone "mydomain.com" {
type master;
file "mydomain/mydomain.fwd";
};
zone "1.1.10.in-addr.arpa" {
type master;
file "mydomain/mydomain.rev";
}
File : mydomain.fwd
Code:
; File : mydomain.fwd
; Last update: 20090612@1400
;
@ IN SOA mydomain.com. root.nas.mydomain.com. (
961230 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS nas.mydomain.com.
mydomain.com. IN A 10.1.1.2
nas.mydomain.com. IN A 10.1.1.2 ; Server - FreeBSD
fbsd.mydomain.com. IN A 10.1.1.3 ; WS - FreeBSD
File : mydomain.rev
Code:
; File : mydomain.rev
; Last update: 20090612@1400
;
@ IN SOA mydomain.com. root.nas.mydomain.com. (
961230 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS nas.mydomain.com.
2 IN PTR mydomain.com.
2 IN PTR nas.mydomain.com.
3 IN PTR fbsd.mydomain.com.
Thanks
-Enjoy
fh : )_~