[NTLUG:Discuss] Dynamic Clients & BIND

Neil Aggarwal neil at JAMMConsulting.com
Wed Oct 6 11:35:01 CDT 2004


Steve:

Hmmm..  I did not do anything to my named installation.
It is just the default installed via the RPM.

It is set up as a caching nameserver.

Here is what I have in named.conf:

// generated by named-bootconf.pl

options {
        directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
};

// 
// a caching only nameserver config
// 
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

Maybe you are missing some commands to tell named to 
act as a caching nameserver.

Let me know if you need anything else.

Thanks,
	Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com


> -----Original Message-----
> From: discuss-bounces at ntlug.org 
> [mailto:discuss-bounces at ntlug.org] On Behalf Of Stephen Davidson
> Sent: Wednesday, October 06, 2004 6:03 AM
> To: NTLUG Discussion List
> Subject: Re: [NTLUG:Discuss] Dynamic Clients & BIND
> 
> 
> Neil Aggarwal wrote:
> 
> >Steve:
> >
> >You have the same setup as me.
> >
> >Does your Linux server resolve DNS queries for things
> >you do locally?
> >  
> >
> Yep.
> 
> >There is nothing I had to do for bind.  Just set
> >it up so I can query it.  It automatically checks
> >the machine's name servers if it does not know something.
> >
> >  
> >
> Nope, and that's my problem.  Ran a sniffer on the segment, 
> and client 
> does send packets to dns server asking for addresses.  Just, the BIND 
> does not resolve/return any info.  Maybe I am missing something in my 
> Bind/named.conf configurations?
> 
> >You may have something wrong in your dhcp config.
> >
> >Here is what I have in my dhcpd.conf file:
> >default-lease-time 60000;
> >max-lease-time 720000;
> >option subnet-mask 255.255.255.0;
> >option broadcast-address 192.168.1.255;
> >option routers 192.168.1.1;
> >option domain-name-servers 192.168.1.1;
> >option domain-name "JAMMConsulting.com";
> >ddns-update-style ad-hoc;
> >
> >subnet 192.168.1.0 netmask 255.255.255.0 {
> >  range 192.168.1.10 192.168.1.254;
> >}
> >
> >Maybe you are missing one of these directives?
> >
> >Thanks,
> >	Neil
> >
> >
> >--
> >Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
> >FREE! Valuable info on how your business can reduce 
> operating costs by
> >17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
> >
> >  
> >
> 
> Regards,
> Steve
> 
> -- 
> Java/J2EE Developer/Integrator
> Stephen Davidson and Associates, Inc.
> Chair, Dallas/FortWorth J2EE Sig
> 214-724-7741
> 
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list