[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slow DNS Lookup (4TH POSTING)



Leonard,
I am pasting my named files for you to crosscheck. I only have one zone here
and it's an INTERNAL dns.. that means that resolves to 10.0.x.x/255.255.0.0
but It will also serve as a Cache Nameserver for other hosts.

Sorry about the lenght of the email.

------------- /etc/named.conf ----------------
options {
        directory "/var/named";
        allow-query { 10.0.0/24; 127.0.0.1/32; };
        version "DNS server"; // hide BIND version
};

zone "." {
        type hint;
        file "named.ca";
};
zone "marconcini.com.ar"{
        type master;
        file "marconcini.com.ar";
        notify no;
        allow-update{
        10.0.0/24
        };
};
zone "0.0.10.IN-ADDR.ARPA"{
        type master;
        file "10.0.0";
};
zone "0.0.127.IN-ADDR.ARPA"{
        type master;
        file "named.local";
};
--------- EOF -----------
---- /var/named/10.0.0 --------
@               IN      SOA     jupiter.marconcini.com.ar
martin.marconcini.com.ar (
                        2001022602 ; serial
                        3600 ; refresh
                        900 ; retry
                        1209600 ; expire
                        43200 ; default_ttl
                        )
@               IN      NS      jupiter.marconcini.com.ar.

// Now My Hosts on the Internal LAN.
1               IN      PTR     jupiter.marconcini.com.ar. //
Firewall/DNS/Apache/Samba Linux
55              IN      PTR     caldera.marconcini.com.ar. // Linux Caldera
2.4 Workstation
66              IN      PTR     debian.marconcini.com.ar. // My Develop-Test
Potato
77              IN      PTR     martin.marconcini.com.ar. // My Gaming Win98
88              IN      PTR     carolina.marconcini.com.ar. // Brother's
GirlFriend Notebook
99              IN      PTR     marcos.marconcini.com.ar. // Brother's Win2k
workstation
------------------EOF--------
----------------- /var/named/marconcini.com.ar ---------------

@               IN      SOA     ns1.marconcini.com.ar.
martin.marconcini.com.ar (
                        2001022503 ; serial
                        28800 ; refresh
                        14400 ; retry
                        3600000 ; expire
                        86400 ; default_ttl
                        )
; DNS
@               IN      NS      jupiter
; MX
@               IN      MX      10      smtp
; RP
@               IN      RP      martin martin
martin          IN      TXT     "Martin Marconcini"
; DNS
jupiter         IN      A       10.0.0.1

; Services (Almost Virtual ones)
ns1             IN      CNAME   jupiter
ftp             IN      CNAME   jupiter
mail            IN      CNAME   jupiter
@               IN      A       10.0.0.1
www             IN      CNAME   jupiter
smtp            IN      CNAME   jupiter

; Intranet Stuff
martin          IN      A       10.0.0.77
marcos          IN      A       10.0.0.99
debian          IN      A       10.0.0.66
caldera         IN      A       10.0.0.55
carolina        IN      A       10.0.0.88

; Virtual Web Sites

dentalmedia     IN      CNAME   jupiter
edentalmedia    IN      CNAME   jupiter
-------------- EOF --------------

---------- /var/named/named.local ------------ (THE Reverse for Localhost)
@               IN      SOA     localhost.      root.localhost. (
                        2001022101 ; serial
                        28800 ; refresh
                        14400 ; retry
                        3600000 ; expire
                        86400 ; default_ttl
                        )
1               IN      PTR     localhost.
@               IN      NS      localhost.
---------- EOF -------------

THIS DNS RESOLVES ALL REVERSE AND NON-REVERSE LOOKUPS PRETTY FAST!!!
And it's a P133 w/32mb ;)


Hope is useful!


Good Luck,

Martin Marconcini.





Reply to: