Re: Some Questions about setting up a 9.3 box as a router
From: Arthur Hagen (art_at_broomstick.com)
Date: 06/17/05
- Next message: houghi: "Re: Strange problem"
- Previous message: Andrew: "Re: Move a drive with Linux?"
- In reply to: John Mullen: "Some Questions about setting up a 9.3 box as a router"
- Next in thread: John Bowling: "Re: Some Questions about setting up a 9.3 box as a router"
- Reply: John Bowling: "Re: Some Questions about setting up a 9.3 box as a router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 17 Jun 2005 03:43:37 -0400
John Mullen <jpmullen@hotmail.com> wrote:
> I have successfully setup a SuSE 9.3 machine on my network to replace
> my Linksys router using DHCP. I am very happy with it, however I have
> two questions.
>
> 1) How do I get the nameservers for my LAN to update automatically
> using the ones that are automatically updated to the external
> interface by my ISP?
>
> The DHCP server I set up is assigning IP addresses from the internal
> interface but how can I grab nameserver information from the external
> interface. The "DHCP Server -- Global "Settings do not give an option
> for pulling any namesever infomation from anywhere. There is a
> "Primary Name Server IP" and a "Secondary Name Server IP". If I leave
> them blank, then no nameserver information is distributed via DHCP
> across my LAN. If I put something in there then they will not change
> when my ISP changes them on the external interface. Can someone
> explain how to have the nameserver information automatically updated
> on the internal interface to match what is assigned to the external
> interface by my ISP?
Simple answer: You can't.
In dhcpd.conf (or a config file included by dhcpd.conf), the name
servers are set using:
option domain-name-servers server1, server2, server3;
The only easy way to change this is to run a script that checks the name
servers and replaces them in the config file and then bounces dhcpd. If
you know scripting, it's trivial, if not, it's near impossible.
A better way is to set up your own name server on your lan. (If you do
that, you can even get dhcpd to automatically update your local name
server with the hostnames and leased IPs of the connected machines.)
Regards,
-- *Art
- Next message: houghi: "Re: Strange problem"
- Previous message: Andrew: "Re: Move a drive with Linux?"
- In reply to: John Mullen: "Some Questions about setting up a 9.3 box as a router"
- Next in thread: John Bowling: "Re: Some Questions about setting up a 9.3 box as a router"
- Reply: John Bowling: "Re: Some Questions about setting up a 9.3 box as a router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|