Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automatic discovery of DNS servers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Biker
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 170
Location: A very dark, cold and moisty place...

PostPosted: Tue Apr 20, 2004 8:35 am    Post subject: Automatic discovery of DNS servers Reply with quote

I have always lived with the idea that the DNS server(s) must be defined by IP address, and from there it's possible to resolve any (valid) IP address to name and vice versa. The same would be true for any forward DNS servers.

Recently I learned that in the Windows world, there is some sort of "Automatic Discovery of DNS server(s)" available.

Could anyone point me to any HOWTO for me to read or some other RTFM to be able to do the same in Linux?


What I'd like to achieve is that my local DNS server (for my home LAN) might be able to automatically discover the external DNS servers at my ISP and therefore use my ISP's DNS servers as forwarding servers.

Currently I use my ADSL modem as a forwarder, where the ADSL modem does the "Auto discovery thing" with my ISP. I'd like to remove the ADSL modem from the DNS chain of forwarders.

Biker
_________________
The Internet never forgets.
Where 'never' points in the direction of a moment in the very, very far future.
Back to top
View user's profile Send private message
Linki
n00b
n00b


Joined: 12 Nov 2003
Posts: 23
Location: Switzerland

PostPosted: Tue Apr 20, 2004 8:55 am    Post subject: Reply with quote

I can't think of any automatic "DNS discovery" with TCP/IP. Normaly the DNS Servers are 'made known' by the DHCP Service, so if you do a dhcp lookup for a new IP adress you also get you DNS Servers assigned (you can even assign more Servers like ntp, wins, etc.)
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Apr 20, 2004 10:38 am    Post subject: Reply with quote

Sounds like someone was talking about a dhcp server to me, too. Probably got the two confused a little.

You don't just 'discover' name servers. You have to know their IP address.
_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
Spooky Ghost
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 210
Location: Bristol, United Kingdom

PostPosted: Tue Apr 20, 2004 1:28 pm    Post subject: Reply with quote

In Windows the automatic discovery of DNS servers is only available when the IP is assigned by DHCP. If you statically set your IP, you must do the same for your DNS servers.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Tue Apr 20, 2004 2:52 pm    Post subject: Reply with quote

But despite that, you should anyways be able to specify your ISPs DNS servers directly as forwarders for your internal one without making another hop by your router. See what your router uses as DNS server and use the same.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum