DNS config problems

From: Joshua Lewis (jmlewis_at_dslextreme.com)
Date: 09/14/04

  • Next message: Kevin D. Kinsey, DaleCo, S.P.: "Re: DNS config problems"
    Date: Tue, 14 Sep 2004 11:05:54 -0700 (PDT)
    To: freebsd-newbies@freebsd.org
    
    

    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.

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Kevin D. Kinsey, DaleCo, S.P.: "Re: DNS config problems"

    Relevant Pages

    • Re: Server Usage Reports - Resolving IP Addresses
      ... the windows 2000 PTR may be created for manually ... Right-click the network connection that you want to configure, ... and then click the DNS tab. ... |> You may check if there are PTR records for those IP addresses in the ...
      (microsoft.public.windows.server.sbs)
    • Re: Need help with reverse DNS
      ... Some times an ISP will let you control the PTR records if you have a block ... > Subject: RE: Need help with reverse DNS ... > that my server is not being used by me or anyone else for mass ...
      (RedHat)
    • Re: Hacking Attempts
      ... saw all of the stank entries in the dns records ... >> RegInfo for codecluster: ... >> nserver: ns1.mydomain.com ... IN PTR ...
      (comp.os.linux.security)
    • Re: checking outbound smtp mail
      ... Can you recieve mail OK? ... About the PTR records... ... > what is a PTR entry, i know this is part of dns. ... >>>>Every domain will have its own queue, ...
      (microsoft.public.windows.server.sbs)
    • Re: RDNS Timeout problems
      ... 114 PTR holly.wlmsburg.org ... If I open the DNS control panel here is what I see: ... I can point nslookup directly to your DNS server and receive query answers ... > nslookup from inside my network, ...
      (microsoft.public.exchange.connectivity)