[NTLUG:Discuss] Dynamic Clients & BIND
Stephen Davidson
gorky at freenet.carleton.ca
Tue Oct 5 22:41:50 CDT 2004
Chris Cox wrote:
> Stephen Davidson wrote:
>
>> Greetings.
>>
>> I am having a bit of an issue with trying to get BIND configured for
>> my home & office networks. My external IP address is dynamic, and
>> the ISPs DNS servers are sent as part of the DHCP setup. So how do I
>> get BIND on this computer to serve up IP addresses for DNS requests
>> when I can't configure the nameservers?
>
>
> Sounds like you're talking about how to get your (local dhcp server)
> dhcp server to
> pass the DNS server entries you get from your ISP (local dhcp client)
> ??? True?
Close. See picture below.
>
> There's a line like:
> option domain-name-servers AAA.BBB.CCC.DDD;
>
> Where you can supply the list of DNS servers that dhcp clients will
> hopefully set their resolv information too after getting an address
> dynamically from your ISP's dhcp server.
>
> So you run a dhcp client on eth0 (to your WAN to get info from your
> ISP)... and you run a dhcp server on eth1 (for example) to feed
> your local hosts with IPs and DNS address information.
>
> Are you running dhcpd?... where do your clients get their IPs from?
>
> I may not have fully understood your issue. Am I on the right path
> to what you're looking for?
>
>
Hi Chris.
Should have included a picture;
Currently;
Internet --- eth0 -- Firewall -- eth1 -- Clients
eth0 - Address is dynamically assigned by ISP via DHCP, and includes DNS
servers.
eth1 - Static internal address, with BINDv9 running on it. DHCP server
for clients.
Bind on eth1 does not get name server info dynamically from DHCP, and
therefore is not currently serving up responses to DNS requests.
(Implication is correct, clients are not currently accessing internet
using DNS/IP Lookups).
Firewall - DHCP server for Clients on eth1.
Firewall - BIND server for Clients on eth1
Firewall - DHCP Client on eth0 for connection to internet, gets IP &
Nameserver IPs from ISP.
Problem: eth0 is;
1) Dynamically assigned
2) Has nameservers changed on a frequent basis
Question: How do I tell bind to use the current resolve.conf file's
listed nameservers (or nameservers provided by ISP) as the nameservers
it is supposed to use? There is a "Dialup" option for named.conf, is
that involved somehow?
Thanks,
Steve
--
Java/J2EE Developer/Integrator
Stephen Davidson and Associates, Inc.
Chair, Dallas/FortWorth J2EE Sig
214-724-7741
More information about the Discuss
mailing list