This is a discussion on newbie: transfering DNS-Server adresses from router to clients within the Linux Networking forums, part of the Linux Forums category; How can I transfer the DNS-Server adresses that my DSL-router gets from my provider to my Win- and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
How can I transfer the DNS-Server adresses that my DSL-router gets
from my provider to my Win- and Linux-Clients automatically? (2 to 5 PC's, dial-on-demand, DSL or ISDN, router will never become DHCP-server) Thats what I do so far: I look at /etc/resolve.conf of my router and put the server adresses into the resolve.conf of the linux clients and somewhere into the config of Win-Clients. I works as long as the provider changes the adresses of the DNS-servers. When the DNS-server adresses are changed I changes the DNS-Server adresses in every client manually. I serve networks with 2 to 5 PC`s only, its not much work. But I want to implement a solution that does this automatically. I've heard of DHCP that delivers the somewhat DNS-servers automatically. But the internet router is not the master PC with somewhat DHCP-server. Does that DNS stuff work with DHCP when the dial-on-demand router gets the DNS-adresses dynamically somewhen? I've heard of DNS-server that could be installed on the router. (my router is a fli4l floppy router and DNS-server may be installed) thx Ekkard |
|
|||
|
Ekkard Gerlach wrote:
> How can I transfer the DNS-Server adresses that my DSL-router gets > from my provider to my Win- and Linux-Clients automatically? > (2 to 5 PC's, dial-on-demand, DSL or ISDN, router will never > become DHCP-server but some Linux machine. > > Thats what I do so far: I look at /etc/resolve.conf of my router > and put the server adresses into the resolve.conf of the linux > clients and somewhere into the config of Win-Clients. I works ^ It works > as long as the provider changes the adresses of the DNS-servers. > When the DNS-server adresses are changed I changes the > DNS-Server adresses in every client manually. I serve networks > with 2 to 5 PC`s only, its not much work. But I want to > implement a solution that does this automatically. > > I've heard of DHCP that delivers the somewhat DNS-servers automatically. > But the internet router is not the master PC with somewhat DHCP-server. > Does that DNS stuff work with DHCP when the dial-on-demand router > gets the DNS-adresses dynamically somewhen? > > I've heard of DNS-server that could be installed on the router. > (my router is a fli4l floppy router and DNS-server may be installed) > > thx > Ekkard |
|
|||
|
On Tue, 6 Apr 2004, Ekkard Gerlach <egerlach@aiai.de> wrote:
> How can I transfer the DNS-Server adresses that my DSL-router gets > from my provider to my Win- and Linux-Clients automatically? > (2 to 5 PC's, dial-on-demand, DSL or ISDN, router will never > become DHCP-server) > > Thats what I do so far: I look at /etc/resolve.conf of my router > and put the server adresses into the resolve.conf of the linux > clients and somewhere into the config of Win-Clients. I works > as long as the provider changes the adresses of the DNS-servers. > When the DNS-server adresses are changed I changes the > DNS-Server adresses in every client manually. I serve networks > with 2 to 5 PC`s only, its not much work. But I want to > implement a solution that does this automatically. Some routers do DNS forwarding or caching automatically if you point to their IP. Otherwise, you could always run your own caching nameserver on a Linux box. I installed bind9 because my adsl ISP's DNS was sluggish when I first got it, and added forward and reverse zones for my LAN (so I do not have to mess with /etc/hosts except for a machine's own name). -- David Efflandt - All spam ignored http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ |
|
|||
|
Ekkard Gerlach <egerlach@aiai.de> wrote
news:slrnc750b9.340.egerlach@rex2.linuxburg.de: > Thats what I do so far: I look at /etc/resolve.conf of my router > and put the server adresses into the resolve.conf of the linux > clients and somewhere into the config of Win-Clients. I works > as long as the provider changes the adresses of the DNS-servers. > When the DNS-server adresses are changed I changes the > DNS-Server adresses in every client manually. I serve networks > with 2 to 5 PC`s only, its not much work. But I want to > implement a solution that does this automatically. And why not run a DNS cache serveur on your router ? Like this, you point your client DNS on your router, and you have nothing to change when your ISP DNS change. > I've heard of DHCP that delivers the somewhat DNS-servers automatically. > But the internet router is not the master PC with somewhat DHCP-server. > Does that DNS stuff work with DHCP when the dial-on-demand router > gets the DNS-adresses dynamically somewhen? No problem with a DNS cache server on your router. You can set this address in your DHCP serveur as the primary DNS server. And so you even don't need to set your client manualy. > I've heard of DNS-server that could be installed on the router. > (my router is a fli4l floppy router and DNS-server may be installed) Yes there is already a DNS server on fli4l : http://www.fli4l.de/german/extern/do...tml/index_en.h tml Set the DNS in your Windows and Linux station to your router ip address. Regards |