Re: dhcp server and isp's dns...
From: Luke (clairst_at_uiuc.edu)
Date: Tue, 30 Dec 2003 18:37:17 GMT
On 2003-12-30, James Knott <firstname.lastname@example.org> wrote:
> Luke wrote:
>> I'm setting up a router/dhcp server, and my router gets its IP and DNS
>> info via DHCP from my ISP.
>> How can I pass the DNS info along to my clients when the DNS info is
>> dynamically assigned? I see in the DHCP howto that you can do it easily
>> if they are static, but what about dynamic?
>> And what's the best way to add the
>> /sbin/route add -host 255.255.255.255 dev eth1
>> thing automatically? In the /etc/init.d/dhcp script? I'm using debian,
>> and am worried that file will be overwritten every time dhcp is
>> updated via apt-get... is this a valid concern?
> While your IP is dynamic, your host name might not be. For example, my host
> name is based on my computer mac address, which doesn't change.
I don't quite understand what you're saying here... I want my router to
assign DHCP addresses and give DNS server addresses to its clients
(windows and linux). However, the DHCP server will get its IP from my
ISP, along with my ISP's current nameservers. My DHCP server will use
dyndns services to update the hostname/ip mapping...
> that, the Linux dhcp client can run a script, whenever the IP changes. You
> should be able to do something with that, to update the DNS info.
I don't want my clients to have to do anything except pick "Use DHCP" in
windows, or iface ethX inet dhcp in debian...
-- Luke StClair email@example.com PGP key: http://www.students.uiuc.edu/~clairst