DNS config problems
Joshua Lewis
jmlewis at dslextreme.com
Tue Sep 14 11:05:55 PDT 2004
I don't think I have set up Bind9 correctly and I was hoping someone could
point out any mistakes I may have made. I have tried to follow the
examples in the handbook. I even bought DNS and BIND from O'riley.
I don't really know how to troubleshoot a DNS issue yet. I know of the
tools I just don't understand them yet. I have a MS DNS server running
fine as my secondary and when I try to troubleshoot it I can't tell if I
am getting a response from my MS system or my FBSD system.
Ultimately I would like to make this bind system my primary. Once that is
done I have made arrangements for an off site system to act as my
secondary for redundancy and I can eliminate the MS system all together.
Should I post my config info here or is that just a real bad idea? I mean
anyone can get what they want from the internet I just don't know if
posting it here is like inviting someone to crack my system.
Also I currently only have one FreeBSD system. I am trying to run multiple
services on this one system Mail, DNS, WWW, SQL. It is a pretty beefy
system and will have no problem handling the load. I just want to hide the
hostname of the system when I can. I only have the one customer hitting
the system and it is a real small company. This system is overkill for
them so I am trying to utilize the system to the best of my ability. I
know in a perfect world I should have them each running on separate
systems however that is not feasible right now. I was thinking of getting
some old P1 systems and moving DNS over to that. Any other recommendations
are welcome.
Here is what I have. Please be gentile.
apollo# ll /etc/namedb/
total 18
-rw-r--r-- 1 root wheel 427 May 25 14:28 PROTO.localhost-v6.rev
-rw-r--r-- 1 root wheel 423 May 25 14:28 PROTO.localhost.rev
-rw-r--r-- 1 root wheel 492 Sep 10 16:21 localhost-v6.rev
-rw-r--r-- 1 root wheel 488 Sep 10 16:21 localhost.rev
-rw-r--r-- 1 root wheel 1032 May 25 14:28 make-localhost
-rw-r--r-- 1 root wheel 133 Sep 10 16:45 named.conf
-rw-r--r-- 1 root wheel 2602 May 25 14:28 named.root
drwxr-xr-x 2 root wheel 512 Sep 10 16:57 prideindesign.com
apollo# more named.conf
options {
directory "/etc/namedb";
zone "prideindesign.com"{
type master;
file "prideindesign.com/prideindesign.com.rev";
};
zone "250.159.66.in-addr.arpa" {
type master;
file "prideindesign.com/250.159.66.in-addr.arpa.bak";
};
apollo# ll prideindesign.com/
total 4
-rw-r--r-- 1 root wheel 649 Sep 14 06:58 250.159.66.in-addr.arpa
-rw-r--r-- 1 root wheel 978 Sep 14 06:57 prideindesign.com.rev
apollo# more 250.159.66.in-addr.arpa
$TTL 3600
250.159.66.in-addr.arpa. IN SOA ns1.prideindesign.com.
admin.prideindesign.com.
(
200409131 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
3600 ) ; Minimum
@ IN NS ns1.prideindesign.com.
@ IN NS ns2.prideindesign.com.
221 IN PTR ns1.prideindesign.com.
218 IN PTR ns2.prideindesign.com.
221 IN PTR mail.prideindesign.com.
221 IN PTR prideindesign.com.
221 IN PTR www.prideindesign.com.
221 IN PTR imap.prideindesign.com.
apollo# more prideindesign.com.rev
$TTL 3600
prideindesign.com. IN SOA ns1.prideindesign.com. admin.prideindesign.com. (
2004091301 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum TTL
;
; DNS Servers
;
prideindesign.com. IN NS ns1.prideindesign.com.
prideindesign.com. IN NS ns2.prideindesign.com.
;
; Machine Names
;
localhost IN A 127.0.0.1
prideindesig.com. IN A 66.159.250.221
ns1.prideindesign.com. IN A 66.159.250.221
ns2.prideindesign.com. IN A 66.159.250.218
mail.prideindesign.com. IN A 66.159.250.221
;
; Aliases
;
www.prideindesign.com. IN CNAME prideindesign.com.
imap.prideindesign.com. IN CNAME mail.prideindesign.com.
smtp.prideindeign.com. IN CNAME mail.prideindesign.com.
; MX Record
prideindesign.com. IN MX 10 mail.prideindesign.com.
More information about the freebsd-newbies
mailing list