newbie: transfering DNS-Server adresses from router to clients

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2004
Ekkard Gerlach
 
Posts: n/a
Default newbie: transfering DNS-Server adresses from router to clients

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
Reply With Quote
  #2 (permalink)  
Old 04-06-2004
Ekkard Gerlach
 
Posts: n/a
Default Re: newbie: transfering DNS-Server adresses from router to clients

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

Reply With Quote
  #3 (permalink)  
Old 04-07-2004
David Efflandt
 
Posts: n/a
Default Re: newbie: transfering DNS-Server adresses from router to clients

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/
Reply With Quote
  #4 (permalink)  
Old 04-11-2004
Antoine EMERIT
 
Posts: n/a
Default Re: newbie: transfering DNS-Server adresses from router to clients

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0