Re: DNS serrver update via client?
- From: Tauno Voipio <tauno.voipio@xxxxxxxxxxxxx>
- Date: Wed, 25 Jan 2006 21:36:47 GMT
Buckaroo_Banzi wrote:
The problem is the project concept represents a LINUX "plug-and-play" solution where a number of clients will know about each other through DNS lookup and this is possible because each client will register itself to a DNS server on initilization.
So the concept, if I understand it correctly, is that DHCP can be a DNS server where it assigns the IP addresses to the clients. Does that mean that it has all the functionality of a DNS server? I will still need the ability to resolve external names.
The DNS system is a hierarchial tree of servers. If a server cannot resolve an address, it will ask the next server for it, so the server in the DHCP box gives the local and cached names directly, but for other names it will ask the next server (here very probably the ISP's server).
This is a Linux group, so let's assume that the server is a Linux box with a DHCP daemon.
You need to install a DNS server (BIND, DJBDNS or others) and set it up to update the local names when a DHCP lease is given. Also, the DNS must point to the ISP's server for upstream resolution.
The DHCP server has to be set up so that the clients point to the DNS server in the server box.
The exact instructions depend on the DHCP and DNS packages selected, see respective manuals.
You have to catalogue the clients in the server somehow (based on MAC address) to keep the name of a client the same on different leases. This leads to the thought of fixed names and addresses set up at the DHCP configuration, and fixed DNS naming in the /etc/hosts file in the server. A very simple DNS server (dnsmasq) can serve the names from the upstream server and the /etc/hosts file.
--
Tauno Voipio tauno voipio (at) iki fi .
- References:
- DNS serrver update via client?
- From: Buckaroo_Banzi
- Re: DNS serrver update via client?
- From: John Hasler
- Re: DNS serrver update via client?
- From: Buckaroo_Banzi
- Re: DNS serrver update via client?
- From: Tauno Voipio
- Re: DNS serrver update via client?
- From: Buckaroo_Banzi
- DNS serrver update via client?
- Prev by Date: Re: DNS serrver update via client?
- Next by Date: Re: DNS serrver update via client?
- Previous by thread: Re: DNS serrver update via client?
- Next by thread: Re: DNS serrver update via client?
- Index(es):
Relevant Pages
|