how to update between dhcp and dns

Hi all

I made a DNS server ok now how can I put the network addresses in dhcp to the transmission dns .

I mean, if i put a new pc on the network and taking ip, dhcp should be told of the dns how can there be so Aotmatik.

I now put the addresses manually (This is hard work)

Regards

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If your DHCP service is configured to send out the DNS servers then the
various hosts (when they renew their addresses) will get those data.
Existing hosts will need to have that done somehow by restarting the
network service or the entire system if nothing else. Configuring DHCP
to do this is trivial on most setups where there is a router or
something also acting as the DHCP server. If you are using a Linux
service to dish out DHCP data and act as that server you’ll just need to
enter the DNS IP addresses in the proper DHCP options.

If you are wanting to something fancier like dynamic DNS then that’s
something else altogether, but I’m assuming that is not what you are
asking about.

Good luck.

linuxformat wrote:
> Hi all
>
> I made a DNS server ok now how can I put the network addresses in dhcp
> to the transmission dns .
>
> I mean, if i put a new pc on the network and taking ip, dhcp should be
> told of the dns how can there be so Aotmatik.
>
> I now put the addresses manually (This is hard work)
>
> Regards
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqFfJ3s42bA80+9kRAtadAJ4jiLWH02GthbpNwPHzI6LrtHIL2wCfbJNA
NegvhHEUwJBQLMADRNd0K2s=
=Eesd
-----END PGP SIGNATURE-----

On Sun, 17 Aug 2008 11:16:03 GMT
linuxformat <linuxformat@no-mx.forums.opensuse.org> wrote:

>
> Hi all
>
> I made a DNS server ok now how can I put the network addresses in dhcp
> to the transmission dns .
>
> I mean, if i put a new pc on the network and taking ip, dhcp should be
> told of the dns how can there be so Aotmatik.
>
> I now put the addresses manually (This is hard work)
>
> Regards
>
>

I use dnsmasq as both a dns server and dhcp server when I need this
functionality. With it being a single program, it shares the name it gave
out using dhcp when answering dns requests.

Bind and dhcp don’t necessarily talk to one another.

dnsmasq is very small, works quite well, and handles all my needs when I use
it. Quick to set up and can be used as any combination of the three modes…
dns only, dhcp only, or both.

Loni


L R Nix
lornix@lornix.com

linuxformat wrote:
> Hi all
>
> I made a DNS server ok now how can I put the network addresses in dhcp
> to the transmission dns .
>
> I mean, if i put a new pc on the network and taking ip, dhcp should be
> told of the dns how can there be so Aotmatik.

This is called DDNS, though most only associate this with kind
of thing with Internet based services… but really DDNS applies
to the DHCP → BIND situation.

If you do a man on dhcpd (ISC’s dhcp daemon), you’ll find the
information about how to create a key using what they call
the interim method of doing DDNS. This key can be placed
into the dhcpd.conf file and configured globally or per
zone inside your named.conf to allow updates from the dhcp
server to automatically populate your BIND named zones
with records (A and PTR).

There’s a lot of info here and includes a full example
named.conf and dhcpd.conf which does DDNS

http://www.ntlug.org/SSO/Paper

(there’s a lot more in that article besides DDNS)

>
> I now put the addresses manually (This is hard work)
>
> Regards
>
>